added this right branch

This commit is contained in:
Jonas_Jones 2023-12-13 04:16:10 +01:00
parent b17bd1c406
commit 3db9932e7a

7
README.md Normal file
View file

@ -0,0 +1,7 @@
# 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