mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-26 10:05:10 +00:00
build process stuff
This commit is contained in:
4
index.ts
4
index.ts
@@ -1,7 +1,7 @@
|
||||
import { join } from 'path';
|
||||
import { env } from 'bun';
|
||||
import express, { json, urlencoded } from 'express';
|
||||
import chalk from 'chalk'
|
||||
import chalk from 'chalk';
|
||||
import compression from 'compression';
|
||||
import cookieParser from 'cookie-parser';
|
||||
import debug from 'debug';
|
||||
@@ -30,7 +30,7 @@ app.use(
|
||||
})
|
||||
);
|
||||
|
||||
app.use(morgan('combined'));
|
||||
app.use(morgan(isDev ? 'dev' : 'combined'));
|
||||
app.use(json());
|
||||
app.use(urlencoded({ extended: false }));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user