Dockerfile 추가

This commit is contained in:
static committed 2024-12-28 13:05:59 +09:00
1 parent c00dbe7024
commit 796e4a7831
3 files changed
+64 -1

No files matched your search

+4 -1
View File
@@ -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",