mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-29 11:06:10 +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 = {
|
||||
version: version,
|
||||
git,
|
||||
cors: Number(env.corsWildcard),
|
||||
cors: env.corsWildcard,
|
||||
url: env.apiURL,
|
||||
startTime: `${startTimestamp}`,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue