Updated the config files

This commit is contained in:
Glenn de Haan
2018-02-27 21:09:22 +01:00
parent 2a9c607137
commit acd81fb2b2
2 changed files with 7 additions and 27 deletions

View File

@@ -1,27 +0,0 @@
/**
* General config
*/
const config = {
application: {
name: "UniFi Voucher",
env: " (local)",
basePath: "/",
port: 3001,
bind: "0.0.0.0",
supportedBrowsers: [
"Chrome >= 52",
"Firefox >= 47",
"Safari >= 10",
"Edge == All",
"IE == 11"
]
},
session: {
secret: "averysecretstring"
},
security: {
code: "1997"
}
};
module.exports = config;

View File

@@ -21,6 +21,13 @@ const config = {
},
security: {
code: "0000" // <- Only 4 digits
},
unifi: {
ip: '192.168.1.XX',
port: 8443,
username: 'admin',
password: 'XXXXXXXXXXXXXXXXXXX',
siteID: 'default'
}
};