Created
June 24, 2023 03:31
-
-
Save lmzxtek/a4ea335be2f2a4e7be177e8cf5db9950 to your computer and use it in GitHub Desktop.
Revisions
-
lmzxtek created this gist
Jun 24, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ export default { async fetch(request, env) { const url = new URL(request.url); url.host = 'ai.fakeopen.com'; return fetch(new Request(url, request)) } }