mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 20:25:06 +01:00
oops
This commit is contained in:
parent
55f1e4b704
commit
66c797e252
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ import { sha256 } from "../modules/sub/crypto.js";
|
||||||
import { celebrationsEmoji } from "../modules/pageRender/elements.js";
|
import { celebrationsEmoji } from "../modules/pageRender/elements.js";
|
||||||
import { verifyStream } from "../modules/stream/manage.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 corsConfig = process.env.cors === '0' ? { origin: process.env.webURL, optionsSuccessStatus: 200 } : {};
|
||||||
|
|
||||||
const apiLimiter = rateLimit({
|
const apiLimiter = rateLimit({
|
||||||
|
|
Loading…
Reference in a new issue