App Engine uses regular expression matches in the request path to determine which script to invoke or the document to serve. If you have only one index document, you can do it as follows:
- url: /demos/ static_files: demos/index.html upload: demos/index\.html
More generally, you can define static files for paths ending in slashes ("directories"), for example:
- url: /(.*)/ static_files: \1/index.html upload: .*/index\.html
Nick johnson
source share