Forgot to specify the position in the array to use lol

This commit is contained in:
Enstrayed
2024-04-11 01:35:35 -07:00
parent 249f88a6c7
commit 87272f9aa0

View File

@@ -12,7 +12,7 @@ function criticalFileLoader(file) {
}
const globalConfig = JSON.parse(criticalFileLoader('config.json'))
const globalVersion = criticalFileLoader('GITVERSION').split(" ")
const globalVersion = criticalFileLoader('GITVERSION').split(" ")[0]
module.exports = { app, globalConfig, fs } // Export express app and fs objects and globalconfig