Angular 6 routes not found on Google App Engine

前端 未结 3 1072
予麋鹿
予麋鹿 2021-01-16 01:49

I deployed an Angular 6 application on Google App Engine. The app.yaml config looks like that:

runtime: python27
api_version: 1
threadsafe: true

skip_files:         


        
3条回答
  •  既然无缘
    2021-01-16 02:14

    Update your flask server so that "/" and "/route" both return your angular index.html. This way angular will handle the routing to display the right content when it's returned by GAE/flask.

提交回复
热议问题