mirror of
https://github.com/MrUnknownDE/utools.git
synced 2026-04-19 06:03:45 +02:00
edit proxy
This commit is contained in:
@@ -65,7 +65,7 @@ if (Sentry.Handlers && Sentry.Handlers.tracingHandler) {
|
||||
// --- Core Middleware ---
|
||||
app.use(cors()); // Enable CORS
|
||||
app.use(express.json()); // Parse JSON bodies
|
||||
app.set('trust proxy', parseInt(process.env.TRUST_PROXY_COUNT || '1', 10)); // Adjust based on your proxy setup, ensure integer
|
||||
app.set('trust proxy', parseInt(process.env.TRUST_PROXY_COUNT || '2', 10)); // Adjust based on your proxy setup, ensure integer
|
||||
|
||||
|
||||
// --- Rate Limiter ---
|
||||
|
||||
Reference in New Issue
Block a user