This commit is contained in:
Skylar Grant 2022-11-26 21:52:17 -05:00
parent 2f9b114660
commit c4678a4d02

View File

@ -55,6 +55,7 @@ async function cycleAuger(err) {
// Check for reload file existing, then reload environment variables, then delete the file. // Check for reload file existing, then reload environment variables, then delete the file.
if (fs.existsSync('./reload')) { if (fs.existsSync('./reload')) {
var dotenv = require('dotenv');
dotenv.config({ override: true }) dotenv.config({ override: true })
fs.unlink('./reload', (err) => { fs.unlink('./reload', (err) => {
if (err) throw err; if (err) throw err;