its still fucked but etyd.cc will work now

This commit is contained in:
Enstrayed
2024-09-24 23:15:23 -07:00
parent 5f1181476d
commit 0bf467a1c8
7 changed files with 169 additions and 161 deletions

View File

@@ -20,7 +20,7 @@ const globalConfig = await fetch(`${process.env.API_DBHOST}/config/${process.env
})
const globalVersion = execSync(`git show --oneline -s`).toString().split(" ")[0]
export { app, fs, globalConfig, globalVersion}
export { app, fs, globalConfig, globalVersion }
app.use(json()) // Allows receiving JSON bodies
// see important note: https://expressjs.com/en/api.html#express.json