mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-04-05 08:54:17 -04:00
Updated the config files
This commit is contained in:
@@ -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;
|
|
||||||
@@ -21,6 +21,13 @@ const config = {
|
|||||||
},
|
},
|
||||||
security: {
|
security: {
|
||||||
code: "0000" // <- Only 4 digits
|
code: "0000" // <- Only 4 digits
|
||||||
|
},
|
||||||
|
unifi: {
|
||||||
|
ip: '192.168.1.XX',
|
||||||
|
port: 8443,
|
||||||
|
username: 'admin',
|
||||||
|
password: 'XXXXXXXXXXXXXXXXXXX',
|
||||||
|
siteID: 'default'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user