does a page, in contrast with a worker, can be created programaticaly with wrangler ?
does a page, in contrast with a worker, can be created programaticaly with wrangler ?


tenant.app.domain.com is not a Custom Domain it will never route to the Pages project, even if you issue a certificate. The same for any other subdomain of app, because the matching Custom Domain on the project always has to exist for the full domain being hit, a CNAME like this does not work.*.app.domain.com/*




export default {
async fetch(request) {
let url = new URL(request.url)
url.hostname = "project.pages.dev"
return fetch(url, request)
}
}