Worker route not working

Hey, I've created a worker and want to have dynamic subdomain based routing like - .app.domain.com. I did everything and it's working in local, but in live it's created the route and all but it's not able to be browsed.


```ts
import { Hono } from 'hono'

const app = new Hono({
getPath: (req) => req.url.replace(/^https?:/([^?]+).
$/, '$1'),
})

app.get('/', (c) => {
return c.text('hello world')
})

app.get('/:name/', (c) => {
return c.text(hello ${c.req.param('name')})
})

app.get('/:name/user', (c) => {
return c.text(hello ${c.req.param('name')} from user)
})

export default app
```json
"routes": [
    {
      "pattern": "*.webhook.crafim.com/*",
      "zone_name": "crafim.com",
    }
  ]


Any ideas what could be wrong? I've checked the Cloudflare dashboard and the route appears to be created correctly.
Was this page helpful?