You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.
Worker would simply have endpoints for /404, /503, etc. The API would automatically redirect to the according page. If no response from fallback worker arrives (i.e. non set up or actually too busy), display original raw error instead.
The text was updated successfully, but these errors were encountered:
Don't use any fallback worker, just write some API middleware that modifies the response object and checks for error codes. Should add an example to docs though.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Worker would simply have endpoints for
/404
,/503
, etc. The API would automatically redirect to the according page. If no response from fallback worker arrives (i.e. non set up or actually too busy), display original raw error instead.The text was updated successfully, but these errors were encountered: