Fixed missing x-ingress-path within authorization.js redirects. Implemented local/development .options.json config

This commit is contained in:
Glenn de Haan
2024-08-21 21:05:31 +02:00
parent 3ba8d33456
commit 89bc27aef0
5 changed files with 19 additions and 4 deletions

View File

@@ -70,6 +70,9 @@ if(fs.existsSync('/etc/unifi_voucher_site_build')) {
if (fs.existsSync('/data/options.json')) {
log.info('[Options] Found at /data/options.json');
}
if (fs.existsSync(`${__dirname}/.options.json`)) {
log.info(`[Options] Found at ${__dirname}/.options.json`);
}
/**
* Log service status