rateLimiter -> ts, remove resonse handler
This commit is contained in:
1 parent
ffd67150eb
commit
c6ac48b4ff
3 files changed
+2
-72
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user