This commit is contained in:
Flam3rboy
2021-02-10 14:34:55 +01:00
11 changed files with 210 additions and 36 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { NextFunction, Request, Response } from "express";
import { HTTPError } from "lambert-server";
import { checkToken } from "discord-server-util";
import { checkToken } from "fosscord-server-util";
export const NO_AUTHORIZATION_ROUTES = ["/api/v8/auth/login", "/api/v8/auth/register"];
+1 -1
View File
@@ -1,6 +1,6 @@
import { NextFunction, Request, Response } from "express";
import Config from "../util/Config";
import { db } from "discord-server-util";
import { db } from "fosscord-server-util";
// TODO: use mongodb ttl index
// TODO: increment count on serverside
+1 -1
View File
@@ -1,5 +1,5 @@
import { NextFunction, Request, Response } from "express";
import { db } from "discord-server-util";
import { db } from "fosscord-server-util";
import { getIpAdress } from "./GlobalRateLimit";