Unifying /sessions css style across layouts and adding timezone config setting

This commit is contained in:
2026-05-11 06:47:43 +02:00
parent 5253d1255e
commit 862b145c77
4 changed files with 9 additions and 10 deletions

View File

@@ -16,6 +16,11 @@ if (process.env.NODE_ENV === 'production') {
config.main.development = false;
}
// Set timezone from config if not already set via environment variable
if (!process.env.TZ && config.main.timezone) {
process.env.TZ = config.main.timezone;
}
const base = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../");
const storage = process.env.STORAGE_DIR;