mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
api/serverInfo: make cors into boolean
This commit is contained in:
parent
0a28b4091f
commit
94c2545ca6
1 changed files with 1 additions and 1 deletions
|
@ -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