That, or just never pass a request back to your origin unless it is **you** making a DB request
That, or just never pass a request back to your origin unless it is you making a DB request

zone_name instead.



zone_nameexport default {
async fetch(request, env, context) {
// Proxy to origin on unhandled/uncaught exceptions
context.passThroughOnException();
throw new Error('Oops');
},
};