Deploying a website that functions flawlessly when ran locally

I have recently encountered an issue while attempting to upload my website to Pages using Wrangler. Despite the website functioning flawlessly when using npm start in the main folder to host it on localhost:port, it fails to load on (mywebsitename).pages.dev after uploading all the files to Pages via Wrangler and deploying the site. Given that the website is already built, I am seeking assistance on resolving this issue. Any assistance in this regard would be greatly appreciated.
1 Reply
Cyb3r-Jak3
Cyb3r-Jak38mo ago
You don’t host it via port. You build the static site for pages to deploy
Want results from more Discord servers?
Add your server