mirror of
https://github.com/MrUnknownDE/vrc-ytdlp-resolver.git
synced 2026-05-02 12:26:05 +02:00
set trust proxy
This commit is contained in:
@@ -10,6 +10,7 @@ const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
const app = express();
|
||||
app.set('trust proxy', true);
|
||||
app.use(morgan("tiny"));
|
||||
app.use(express.json());
|
||||
app.use(express.urlencoded({ extended: true }));
|
||||
|
||||
Reference in New Issue
Block a user