gcaprio
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
thank you for your help @Chaika
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
hmm, ok. I'll try and reset things and try again
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
so is project.pages.dev always pointing to latest product deployment then?
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
yeah, actually the preview ones were always correct, it was the production one that was the issue.
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
that correct?
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
ok so staging.project.pages.dev points to Preview /
staging
and project.pages.dev points to Production / main
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
as soon as I switch back to the <hash>.project.pages.dev for
main
it works fine48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
so even when I use
main.project.pages.dev
it points to the staging
deployment48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
wasn't actually working, might have been just cached.
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
hmm, i spoke too soon
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
maybe I'll give the domains anothe shot.
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
yup, that works.
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
let me see
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
haven't tried that, was always either using the domain setup or the URL with the dynamic value
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
I can tell because the ENV VARs are setup differently but I get the same values regardless of which domain I use.
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
that's what I thought, but sadly nope.
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
yeah exactly
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
yes and yes
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
but both always end up under the
Production
deployment, under Domains: ...
48 replies
CDCloudflare Developers
•Created by gcaprio on 4/18/2024 in #general-help
Workers w/ custom domains
yeah, we have two,
main
and staging
and trying to setup the cname as main.<worker name>.pages.dev
and staging.<worker name>.pages.dev
48 replies