I have an ionic web app I’m trying to host on Netlify. When the page loads, it immediately navigates to my app’s login page (which is the default page in the app). When I try to reload the page, I get a page not found error.
I opened a terminal window to the www folder for my app and started an HTTP server, when I load the site, it loads as expected, then opens the login pave. When I reload the page, I get the page not found error. Here’s the local http-server output:
Microsoft Windows [Version 10.0.19042.746]
(c) 2020 Microsoft Corporation. All rights reserved.
Starting up http-server, serving ./
Available on:
http://192.168.86.56:8080
http://192.168.83.1:8080
http://192.168.189.1:8080
http://127.0.0.1:8080
Hit CTRL-C to stop the server
[2021-01-17T16:23:57.626Z] "GET /login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
(node:27432) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
[2021-01-17T16:23:57.632Z] "GET /login" Error (404): "Not found"
Any ideas what I’m doing wrong?
1 post - 1 participant