oops
This commit is contained in:
parent
2f9b114660
commit
c4678a4d02
1
main.js
1
main.js
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user