enforced authentication for APIs, vite .env configuration for auth & jobs

This commit is contained in:
Felix Kaspar
2024-05-30 01:03:15 +02:00
parent c19bc8d07a
commit fc3e2adc82
8 changed files with 48 additions and 29 deletions

View File

@@ -0,0 +1,9 @@
declare namespace NodeJS {
export interface ProcessEnv {
JOBS_ENABLED: "True" | "False",
JOBS_DIR: string,
AUTH_ENABLED: "True" | "False",
AUTH_SESSION_SECRET: string,
SEQUELIZE_LOGGING: "True" | "False"
}
}