howcan i block access to worker if its not access from my pages like anybody canquery it and get ren
howcan i block access to worker if its not access from my pages like anybody canquery it and get renderd html


"node_compat" within the wrangler.toml?node_compat (which is done with standard polyfills that increase the size of your Worker) is slowly being fazed out in favor of nodejs_compat (which is built into the runtime)Knexcompatibility_flags = [ "nodejs_compat" ]
compatibility_date = "2024-04-04"import { Hono } from 'hono'
import { sentry } from '@hono/sentry'
const app = new Hono<{ Bindings: Bindings }>({ strict: false })
app.use('*', sentry({ debug: true }))app.get('/call-sentry', async(c) => {
c.get('sentry').captureException('Something happened, tell Sentry!')
})