I tried deploying an angular application on Google Cloud but only the home page gets deployed. When I click on any other button in the nav bar it gives an error saying Error: Not Found
The requested URL /pagename was not found on this server.. Here is the link to the url I deployed to using google cloud https://x691webapp.uc.r.appspot.com and here is 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