Wachalarm-IP-Web/server/app_cfg.js
2020-05-04 16:31:01 +02:00

38 lines
943 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var app_cfg = {};
app_cfg.global = {
development: true,
http_port: 3000,
https_port: 3443,
udpport: 60233,
database: './database.sqlite3',
soundpath: '/public/media/',
mediapath: '/media/',
time_to_delete_waip: 60,
default_time_for_standby: 10,
defaultuser: 'me',
defaultpass: '123',
defaultuserip: '127.0.0.1',
ip_auth_range: ['::ffff:172.16.5.0/24', '::ffff:192.168.2.0/24'],
saltRounds: 10,
sessionsecret: '0987654321abcdef#xyz',
app_id: process.pid
};
app_cfg.public = {
app_name: 'Wachalarm IP-Web',
company: 'Leitstelle Lausitz',
version: 'Version 1.2',
map_tile: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
map_attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
// TODO: Link Impressium
// TODO: Link Datenschutzerklärung
};
app_cfg.remote = {
api: 'http://localhost:8078/api',
jwt_secret: 'asdfwert1234567890#'
};
module.exports = app_cfg;