API worker for cloudflare
Find a file
2024-02-09 02:25:36 +01:00
src Added /status for independant api uptime status 2024-02-09 02:25:36 +01:00
.editorconfig Initial commit (by create-cloudflare CLI) 2023-09-14 18:58:13 +02:00
.gitignore added gitignore 2023-09-14 19:02:15 +02:00
.prettierrc Initial commit (by create-cloudflare CLI) 2023-09-14 18:58:13 +02:00
package-lock.json updated dependencies 2024-01-28 15:26:37 +01:00
package.json Updated package and fixed version 2023-10-22 17:23:14 +02:00
README.md added this right branch 2023-12-13 04:16:10 +01:00
wrangler.toml Initial commit (by create-cloudflare CLI) 2023-09-14 18:58:13 +02:00

api-worker

API worker for cloudflare

This is the worker adapter for the backend. It allows for control over the primary traffic to the api backend as well as the error fallback implementations.

Redirect

Any request from https://api.jonasjones.dev/ will be redirected to https://someapi.jonasjones.dev/ and the response will be returned if the backend is up. Otherwhise an error message is returned