Skip to content

best way to save what you love

oops

wukko66c797e2520b
diff --git a/src/core/api.js b/src/core/api.js
index 0c9bfdbb..6826efd2 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({