How to set a default page in a static_dir in Google AppEngine
In my app.yaml
file I have:
handlers:
- url: /resume
static_dir: resume
Inside my /resume
folder I have an index.htm
file. I want this file to show when I navigate to http://myapp/resume
-- how do I tell GAE that index.htm
should be the default p开发者_StackOverflow社区age in this directory?
Try to add this to your app.yaml
after your /resume static_dir
declaration:
- url: /resume
static_files: resume/index.htm
upload: resume/index.htm
精彩评论