*Need to redirect all 404 links to index.html inside www folder*

This is my app.yaml

runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /
  static_files: www/index.html
  upload: www/index.html

- url: /(.*)
  static_files: www/\1
  upload: www/(.*)

It's a static angular 2 app , and i need to direct all page not found 404 
errors to index.html. There is (www) folder and inside that all file 
including index.html there.


https://stackoverflow.com/questions/52856895/how-to-configure-google-app-engine-yaml-file-to-handle-404-error

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/eef2669b-a61e-4167-bf9b-53cd57bc7b61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appeng... Chanky Mallick
    • [google-a... 'Aref Amiri (Cloud Platform Support)' via Google App Engine

Reply via email to