11application : androidappdocs-staging
22version : 1
3- runtime : python
3+ runtime : python27
4+ threadsafe : true
45api_version : 1
6+ # compatibility: gae-1.9.4+
57
6- # This file defines two mutually exclusive
7- # hander blocks:
8- # - a handler for use on a local dev_appserver
9- # during development or non-production doc build
10- # - a handler for use on a production gae
11- # instance. This handler requires that the
12- # docs files in the app have been compressed
13- # with divide_and_compress.py and that main.py
14- # and gae_shell/ are present.
15- #
16- # Only one of the handler blocks should be
17- # uncommented at any given time. By default,
18- # the development handler is exposed.
8+ # handler for local staging servers
9+ # WARNING: NOT FOR USE IN PRODUCTION
10+
11+ # Use this handler definition with
12+ # Google App Engine 1.9.4 or higher.
13+ # NOT compatible with prior GAE versions
1914
2015handlers :
2116
2217# DEVELOPMENT HANDLER
23- # (this handler block *must* be commented
24- # out before pushing to a production server)
25- - url : /
26- static_dir : /
18+ - url : /(.+)
19+ static_files : \1
20+ upload : (.+)
2721
28- # PRODUCTION GAE HANDLER
29- # - url: /gae_shell/static
30- # static_dir: gae_shell/static
31- # expiration: 1d
32- #
33- # - url: /gae_shell/.*
34- # script: /gae_shell/shell.py
35- # login: admin
36- #
37- # - url: .*
38- # script: main.py
22+ # Direct default, blank requests
23+ - url : /
24+ static_files : index.html
25+ upload : index.html
0 commit comments