Hello,
I deploy my app, which created from Angular, to the free server service. Then, I browse to sub-folder that is installed for this app, it works great, loading index page, even routing to other paths in this app. Until the url is not in the root path, and I click reload button of browser. The 404 error, page not found is shown up. So, I think I need to config something on server side, and let server knows how to deal with the deep links. I setup the fallback configuration with .htaccess following up by the Angular website suggestion, because I think your web server might be Apache. But it's worse. It doesn't even open the home page.
https://angular.io/guide/deployment
How can you advice to config Apache server for Angular app?
I deploy my app, which created from Angular, to the free server service. Then, I browse to sub-folder that is installed for this app, it works great, loading index page, even routing to other paths in this app. Until the url is not in the root path, and I click reload button of browser. The 404 error, page not found is shown up. So, I think I need to config something on server side, and let server knows how to deal with the deep links. I setup the fallback configuration with .htaccess following up by the Angular website suggestion, because I think your web server might be Apache. But it's worse. It doesn't even open the home page.
https://angular.io/guide/deployment
How can you advice to config Apache server for Angular app?