removed dead code

This commit is contained in:
jackiettran
2026-01-15 17:32:44 -05:00
parent 826e4f2ed5
commit 35d5050286
2 changed files with 0 additions and 59 deletions

View File

@@ -138,13 +138,6 @@ app.use(
// Apply input sanitization to all API routes (XSS prevention)
app.use("/api/", sanitizeInput);
// Serve static files from uploads directory with CORS headers
app.use(
"/uploads",
helmet.crossOriginResourcePolicy({ policy: "cross-origin" }),
express.static(path.join(__dirname, "uploads"))
);
// Health check endpoints (no auth, no rate limiting)
app.use("/health", healthRoutes);