3 ms·
TIL Hacker News will redirect CloudFlare pages domains to their pages.dev URL, I wasn't aware is was even possible to find this due to CNAME flattening. Actual
by LiamPowell 2y ago
TIL Hacker News will redirect CloudFlare pages domains to their pages.dev URL, I wasn't aware is was even possible to find this due to CNAME flattening. Actual URL is https://prunt3d.com/ https://prunt3d.com/, but I suppose it doesn't really matter.
- slater 2y agoNo, it follows the canonical URL linked in the page's <head>: link rel="canonical" href="https://600f3559.prunt-docs.pages.dev/ https://600f3559.prunt-docs.pages.dev/" itemprop="url"
- LiamPowell 2y agoThanks. This is what I get for using these big static site generators that I don't entirely understand, turns out this was a result of setting the base URL in Hugo to $CF_PAGES_URL as recommended by the CloudFlare docs.
- alhirzel 2y agoThank you for investigating this - I got scared when I saw what looked like an ephemeral URL!
- deleted 2y ago[deleted]