🚧 experiments + gateway route

This commit is contained in:
Flam3rboy
2021-04-06 03:58:27 +02:00
parent 6e009484a6
commit 8b64ab4f38
3 changed files with 26 additions and 1 deletions
+7 -1
View File
@@ -2,7 +2,13 @@ import { NextFunction, Request, Response } from "express";
import { HTTPError } from "lambert-server";
import { checkToken } from "fosscord-server-util";
export const NO_AUTHORIZATION_ROUTES = ["/api/v8/auth/login", "/api/v8/auth/register", "/api/v8/webhooks/"];
export const NO_AUTHORIZATION_ROUTES = [
"/api/v8/auth/login",
"/api/v8/auth/register",
"/api/v8/webhooks/",
"/api/v8/gateway",
"/api/v8/experiments",
];
declare global {
namespace Express {