api/serverInfo: make cors into boolean

This commit is contained in:
dumbmoron 2024-08-03 17:10:59 +00:00
parent 0a28b4091f
commit 94c2545ca6
No known key found for this signature in database

View file

@ -40,7 +40,7 @@ export function runAPI(express, app, __dirname) {
const serverInfo = { const serverInfo = {
version: version, version: version,
git, git,
cors: Number(env.corsWildcard), cors: env.corsWildcard,
url: env.apiURL, url: env.apiURL,
startTime: `${startTimestamp}`, startTime: `${startTimestamp}`,
} }