mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-15 06:18:48 +00:00
Dockerfile 추가
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import { building } from "$app/environment";
|
||||
import { env } from "$env/dynamic/private";
|
||||
|
||||
if (!env.JWT_SECRET) throw new Error("JWT_SECRET is not set");
|
||||
if (!building) {
|
||||
if (!env.JWT_SECRET) throw new Error("JWT_SECRET is not set");
|
||||
}
|
||||
|
||||
export default {
|
||||
databaseUrl: env.DATABASE_URL || "local.db",
|
||||
|
||||
Reference in New Issue
Block a user