Created
January 30, 2026 12:53
-
-
Save Hikaru4v/bcdf5bf52a8254f5a0817057e6fe28ce to your computer and use it in GitHub Desktop.
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 characters
| export default { | |
| async fetch(request) { | |
| const form = await request.formData(); | |
| const res = await fetch("https://catbox.moe/user/api.php", { | |
| method: "POST", | |
| body: form | |
| }); | |
| return new Response(await res.text(), { | |
| headers: { "Access-Control-Allow-Origin": "*" } | |
| }); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment