fix(deps): hapus baileys (tak dipakai), update axios/multer, audit fix; fix trust proxy (XFF)
This commit is contained in:
1 parent
a1e1570221
commit
4185af3971
3 files changed
+43
-506
No files matched your search
+1
-1
@@ -59,7 +59,7 @@ app.use(compression());
|
||||
const isProduction = process.env.NODE_ENV === 'production';
|
||||
const cookieSecure = getSetting('cookie_secure', isProduction);
|
||||
const trustProxySetting = getSetting('trust_proxy', true);
|
||||
app.set('trust proxy', trustProxySetting ? 1 : true);
|
||||
app.set('trust proxy', trustProxySetting ? 1 : false);
|
||||
|
||||
// Middleware dasar
|
||||
app.use(express.json({
|
||||
|
||||
Reference in new issue
Block a user