mirror of
https://github.com/C4illin/ConvertX.git
synced 2026-09-24 15:00:28 +08:00
secret as env
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ const app = new Elysia()
|
||||
schema: t.Object({
|
||||
id: t.String(),
|
||||
}),
|
||||
secret: "secret",
|
||||
secret: process.env.JWT_SECRET || randomUUID(),
|
||||
exp: "7d",
|
||||
}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user