rateLimiter -> ts, remove resonse handler

This commit is contained in:
Alex Holliday committed 2026-01-20 22:50:34 +00:00
1 parent ffd67150eb
commit c6ac48b4ff
3 files changed
+2 -72

No files matched your search

-4
View File
@@ -1,6 +1,5 @@
import express from "express";
import path from "path";
import { responseHandler } from "./middleware/v1/responseHandler.js";
import cors from "cors";
import helmet from "helmet";
import compression from "compression";
@@ -19,9 +18,6 @@ export const createApp = ({ services, controllers, envSettings, frontendPath, op
// Static files
app.use(express.static(frontendPath));
// Response handler
app.use(responseHandler);
app.use(
cors({
origin: allowedOrigin,