mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 09:36:02 -07:00
parent
c32954fb28
commit
0ccfa188e1
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ import config from './conf';
|
||||||
*/
|
*/
|
||||||
const app = express();
|
const app = express();
|
||||||
app.disable('x-powered-by');
|
app.disable('x-powered-by');
|
||||||
|
app.set('trust proxy', 'loopback');
|
||||||
|
|
||||||
// Log
|
// Log
|
||||||
app.use(morgan(process.env.NODE_ENV == 'production' ? 'combined' : 'dev', {
|
app.use(morgan(process.env.NODE_ENV == 'production' ? 'combined' : 'dev', {
|
||||||
|
|
Loading…
Reference in a new issue