Skip to content Skip to sidebar Skip to footer

App Yaml Configuration Issue When Deploying Angular 7 Website And Google App Engine Api's

I am trying to deploy an Angular7 application in Google App Engine with backend endpoints in python2.7.And here I am getting handlers error: Static file referenced by handler not

Solution 1:

I figured it out by adding two more extra handlers to my app.yaml file:

  • url: /(..(html|gif|png|jpg|js))$ static_files: dist/\1 upload: dist/..(html|gif|png|jpg|js)$ secure: always
  • url: /img static_dir: dist/assets secure: always

It's working now.

Post a Comment for "App Yaml Configuration Issue When Deploying Angular 7 Website And Google App Engine Api's"