there was an old one but it got removed, had to use a hacky old unmaintained patched sql js driver b
there was an old one but it got removed, had to use a hacky old unmaintained patched sql js driver because Cf Tunnels only expose TCP via Websockets
wrangler secret put <binding>On the Unbound billing model, scheduled Workers (Cron Triggers) have different limits on CPU time based on the schedule interval. When the schedule interval is less than 1 hour, a Scheduled Worker may run for up to 30 seconds. When the schedule interval is more than 1 hour, a scheduled Worker may run for up to 15 minutes.
wrangler secret put <binding>// Export a default object containing event handlers
export default {
// The fetch handler is invoked when this worker receives a HTTP(S) request
// and should return a Response (optionally wrapped in a Promise)
async fetch(request) {
// Parse the request URL
const url = new URL(request.url);
// If the request URL matches '/blog1', proxy it to the Cloudflare Pages site
if (url.pathname.startsWith('/blog1')) {
// Construct the proxied URL
const proxiedUrl = 'https://coderabbit-docs.pages.dev' + url.pathname;
// Proxy the request to the specified URL and return the response
return fetch(proxiedUrl, request);
}
// For other requests, return a default response
// return new Response('Welcome to my Cloudflare Worker!', {
// headers: { 'Content-Type': 'text/plain' },
// });
},
};Try again in 5 minutes. Your account is undergoing maintenance right now.