Basically, I'm smarter than everybody else.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
function handle(requestDetails) {
|
||||
let b64 = btoa(requestDetails.url)
|
||||
// let original = atob(b64);
|
||||
// console.log(`Loading: ${requestDetails.url} || ${b64}`);
|
||||
|
||||
return {
|
||||
redirectUrl: `http://localhost:4433/s3/${b64}`
|
||||
if (!requestDetails.url.startsWith("http://localhost")) {
|
||||
console.log(`Loading: ${requestDetails.url} || ${b64}`);
|
||||
return {
|
||||
redirectUrl: `http://localhost:4433/s3/${b64}`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user