Skip to content

Commit

Permalink
set view engine
Browse files Browse the repository at this point in the history
  • Loading branch information
ebubae committed Nov 7, 2024
1 parent 6bd1581 commit be3a191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ import './shared/utils/wrapConsole';

const app = express();

app.set('view engine', 'jade');
app.use(express.json({ limit: '50mb' }));
app.use(express.urlencoded({ extended: false, 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 be3a191

Please sign in to comment.