mirror of
https://github.com/JonasunderscoreJones/api-worker.git
synced 2025-10-23 02:19:19 +02:00
7 lines
408 B
Markdown
7 lines
408 B
Markdown
# 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
|