cookie parser
All checks were successful
Code quality checks / build (23) (push) Successful in 34s
Push code / build (push) Successful in 1m22s

This commit is contained in:
Lara 2024-11-02 21:31:56 +02:00
parent 996a6500ce
commit ffb8dd5a23
Signed by: laratheprotogen
GPG key ID: 5C0296EB3165F98B
3 changed files with 26 additions and 0 deletions

View file

@ -1,6 +1,7 @@
import cors from "cors";
import express from "express";
import multer from "multer";
import cookieParser from "cookie-parser";
import { TokenError } from "passport-oauth2";
import { env } from "../env";
import { initArchives } from "./archives";
@ -25,6 +26,7 @@ app.use(
}),
);
app.use(multer().none());
app.use(cookieParser());
const rootRouter = express.Router();