Skip to content

Commit

Permalink
fix: compression
Browse files Browse the repository at this point in the history
  • Loading branch information
DevNono committed May 16, 2024
1 parent 08e11a5 commit bd35f66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import webRouter from "./webRouter";
import apiRouter from "./apiRouter";
import { rateLimit } from 'express-rate-limit'
import ejs from "ejs";
// import compression from "compression";
import compression from "compression";

dotenv.config();
const app = express();
Expand All @@ -29,7 +29,7 @@ app.engine('html', ejs.renderFile);
// app.use(morgan());

// Enable compression
// app.use(compression());
app.use(compression());

// Security middlewares
// app.use(cors(), helmet());
Expand Down

0 comments on commit bd35f66

Please sign in to comment.