mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-04-05 08:53:53 -04:00
Added additional log for verifying external config
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
* Import base packages
|
||||
*/
|
||||
const fs = require('fs');
|
||||
const os = require('os');
|
||||
const express = require('express');
|
||||
const multer = require('multer');
|
||||
@@ -41,6 +42,13 @@ const authDisabled = (process.env.DISABLE_AUTH === 'true') || false;
|
||||
*/
|
||||
logo();
|
||||
|
||||
/**
|
||||
* Log external config
|
||||
*/
|
||||
if (fs.existsSync('/data/options.json')) {
|
||||
console.log('[Options] Found at /data/options.json');
|
||||
}
|
||||
|
||||
/**
|
||||
* Log service status
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user