Analytics: Geruest, Datenbank, Website-Register
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a1ce46672a
commit
f7da79e4b3
6 files changed
+318
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// Konfiguration aus der Umgebung; leerer adminToken sperrt alle Admin-Routen.
|
||||
export function loadConfig(env = process.env) {
|
||||
return {
|
||||
port: Number(env.ANALYTICS_PORT) || 8090,
|
||||
dataDir: env.ANALYTICS_DATA_DIR || '/srv/webklar-analytics',
|
||||
adminToken: env.ANALYTICS_ADMIN_TOKEN || '',
|
||||
heatSecret: env.ANALYTICS_HEAT_SECRET || '',
|
||||
geoFile: env.ANALYTICS_GEO_FILE || '',
|
||||
baseHost: env.ANALYTICS_BASE_HOST || 'project.webklar.com',
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user