Sounds like you want #workers-for-platforms
Sounds like you want #workers-for-platforms

name = "worker-api"
main = "src/index.ts"
compatibility_date = "2023-11-21"
routes = [
{ pattern = "worker-api.domain.ai", custom_domain = true },
{ pattern = "dev.worker-api.domain.ai", custom_domain = true },