Skip to content

Commit

Permalink
chore: compression is affecting our posts
Browse files Browse the repository at this point in the history
  • Loading branch information
ebubae committed Nov 7, 2024
1 parent ee605a4 commit 6bd1581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import './shared/utils/wrapConsole';

const app = express();

app.use(compression());
// app.use(express.urlencoded({ extended: false, limit: '50mb' }));
app.use(express.json({ limit: '50mb' }));
// app.use(compression());
// app.use(express.urlencoded({ extended: false, limit: '50mb' }));

if (process.env.NODE_ENV === 'development') {
app.use(morgan('dev'));
Expand Down

0 comments on commit 6bd1581

Please sign in to comment.