From 66c797e2520baa7e096ee7e8d2efdb472a6fb578 Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 5 Jun 2023 12:47:03 +0600 Subject: [PATCH] oops --- src/core/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/api.js b/src/core/api.js index 0c9bfdb..6826efd 100644 --- a/src/core/api.js +++ b/src/core/api.js @@ -15,7 +15,7 @@ import { sha256 } from "../modules/sub/crypto.js"; import { celebrationsEmoji } from "../modules/pageRender/elements.js"; import { verifyStream } from "../modules/stream/manage.js"; -export async function runAPI(express, app, gitCommit, gitBranch, __dirname) { +export function runAPI(express, app, gitCommit, gitBranch, __dirname) { const corsConfig = process.env.cors === '0' ? { origin: process.env.webURL, optionsSuccessStatus: 200 } : {}; const apiLimiter = rateLimit({