From 84da5d85a94d366a54d146ff7923b162e058f364 Mon Sep 17 00:00:00 2001 From: Dongho Kim Date: Mon, 22 Jun 2026 17:15:54 +0200 Subject: [PATCH] patch --- index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.js b/index.js index 2b7ec31..0b26c57 100644 --- a/index.js +++ b/index.js @@ -5,6 +5,12 @@ const axios = require('axios'); const app = express(); const port = process.env.PORT || 3000; +// Log all incoming requests +app.use((req, res, next) => { + console.log(`[Proxy Log] ${new Date().toISOString()} - ${req.method} ${req.url} - IP: ${req.ip}`); + next(); +}); + // Parse channels from .env // Expected format: CHANNELS=id1:Name1,id2:Name2 const parseChannels = () => {