Skip to content

Commit 158a6f9

Browse files
committed
fix: render proxy support and frontend error crash
1 parent cf0b661 commit 158a6f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

backend/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const mongoose = require('mongoose')
33
const cors = require('cors')
44
const dotenv = require('dotenv');
55
const app = express();
6+
app.set('trust proxy', 1);
67
const GC = require('./utils/GC');
78
dotenv.config();
89

0 commit comments

Comments
 (0)