Website is 404ing but seems to be working according to Cloudflare dashboard
I'm currently trying to deploy an Angular app through Cloudflare pages via Github. According to Cloudflare the website has successfully deployed and I'm not finding anything in the settings. Does anyone have any ideas?
6 Replies
Click View Details next to your deployment and check the Assets Uploaded list
should be a top level index.html, not under a subfolder or anything
Magic Link to Assets Uploaded: https://dash.cloudflare.com/?to=/:account/pages/view/:pages-project/:pages-deployment/files
Ah, it's in a subfolder!
Under Settings -> Builds & Deployments -> Build Configurations -> Edit Configuration, just add browser to your output directory string
is it already
dist/cloudflare
and the template is just wrong? hmmCurrently, this is my output directory string, I tried changing it to 'dist/browser/cloudflare but it couldn't find the directory like that'
you'd want
dist/cloudflare/browser
most likelyYou really are a champion, thank you!