This commit is contained in:
蒋小陌 2024-09-26 17:17:26 +08:00
parent 6ea61759fd
commit 24cda32cbb

1
oss.js
View File

@ -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);