From 24cda32cbbe78b3bbd05e5413eec107e48967bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=92=8B=E5=B0=8F=E9=99=8C?= Date: Thu, 26 Sep 2024 17:17:26 +0800 Subject: [PATCH] 111 --- oss.js | 1 + 1 file changed, 1 insertion(+) diff --git a/oss.js b/oss.js index b0f999d..97a4bf7 100644 --- a/oss.js +++ b/oss.js @@ -55,6 +55,7 @@ setInterval(cleanUpCache, CLEAN_INTERVAL); // Function to handle proxying and caching const handleRequest = (req, res) => { + const targetUrl = `https://oss.x-php.com${req.url}`; const cacheFilePath = getCacheFilePath(targetUrl);