111
This commit is contained in:
parent
6ea61759fd
commit
24cda32cbb
1
oss.js
1
oss.js
@ -55,6 +55,7 @@ setInterval(cleanUpCache, CLEAN_INTERVAL);
|
|||||||
|
|
||||||
// Function to handle proxying and caching
|
// Function to handle proxying and caching
|
||||||
const handleRequest = (req, res) => {
|
const handleRequest = (req, res) => {
|
||||||
|
|
||||||
const targetUrl = `https://oss.x-php.com${req.url}`;
|
const targetUrl = `https://oss.x-php.com${req.url}`;
|
||||||
const cacheFilePath = getCacheFilePath(targetUrl);
|
const cacheFilePath = getCacheFilePath(targetUrl);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user