mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-01 12:46:07 +00:00
api/serverInfo: make cors into boolean
This commit is contained in:
parent
0a28b4091f
commit
94c2545ca6
|
@ -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}`,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue