Serve static file using App Engine
问题 I created an App Engine application. Till now, I only have a few HTML files to serve. What can I do to make App Engine serve the index.html file whenever someone visits http://example.appengine.com/ ? Currently, my app.yaml file looks like this: application: appname version: 1 runtime: python api_version: 1 handlers: - url: / static_dir: static_files 回答1: This should do what you need: https://gist.github.com/873098 Explanation: In App Engine Python it's possible to use regular expressions as