From 94c2545ca62aa1dc68e6b5cadc9f7f31fcd8f21a Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Sat, 3 Aug 2024 17:10:59 +0000 Subject: [PATCH] api/serverInfo: make cors into boolean --- api/src/core/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/core/api.js b/api/src/core/api.js index c7ce57b9..fee4007d 100644 --- a/api/src/core/api.js +++ b/api/src/core/api.js @@ -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}`, }