I attempted to deploy an angular application on Google Cloud, however, I encountered an issue where only the home page was properly deployed. Whenever I tried clicking on any other button in the navigation bar, it resulted in an error message stating "Error: Not Found."
Specifically, the error displayed was: "The requested URL /pagename was not found on this server." To access the deployed URL on Google Cloud, please click here. Additionally, here is a snippet of my app.yaml file:
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /
static_files: dist/X691Website/index.html
upload: dist/X691Website/index.html
- url: /
static_dir: dist/X691Website
skip_files:
- e2e/
- node_modules/
- src/
- coverage
- ^(.*/)?\..*$
- ^(.*/)?.*\.json$
- ^(.*/)?.*\.md$
- ^(.*/)?.*\.yaml$
- ^LICENSE