diff options
author | Joe Fernandez <joefernandez@google.com> | 2014-09-24 15:44:50 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-24 15:44:50 +0000 |
commit | 1968b91937020e8aa826224642733bbb9055af2e (patch) | |
tree | 76feafd6f9594d3a2b000924282445150a3c04cb | |
parent | 9aaf54eeb6c1dd83090235a8df5476b2f2f6473e (diff) | |
parent | b8a60dada505d79341cfa4cc2b9906d892e8298b (diff) | |
download | frameworks_base-1968b91937020e8aa826224642733bbb9055af2e.zip frameworks_base-1968b91937020e8aa826224642733bbb9055af2e.tar.gz frameworks_base-1968b91937020e8aa826224642733bbb9055af2e.tar.bz2 |
am b8a60dad: Merge "docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher" into klp-modular-docs
* commit 'b8a60dada505d79341cfa4cc2b9906d892e8298b':
docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher
-rw-r--r-- | docs/html/app.yaml | 45 |
1 files changed, 16 insertions, 29 deletions
diff --git a/docs/html/app.yaml b/docs/html/app.yaml index 9ffb775..520ee99 100644 --- a/docs/html/app.yaml +++ b/docs/html/app.yaml @@ -1,38 +1,25 @@ application: androidappdocs-staging version: 1 -runtime: python +runtime: python27 +threadsafe: true api_version: 1 +# compatibility: gae-1.9.4+ -# This file defines two mutually exclusive -# hander blocks: -# - a handler for use on a local dev_appserver -# during development or non-production doc build -# - a handler for use on a production gae -# instance. This handler requires that the -# docs files in the app have been compressed -# with divide_and_compress.py and that main.py -# and gae_shell/ are present. -# -# Only one of the handler blocks should be -# uncommented at any given time. By default, -# the development handler is exposed. +# handler for local staging servers +# WARNING: NOT FOR USE IN PRODUCTION + +# Use this handler definition with +# Google App Engine 1.9.4 or higher. +# NOT compatible with prior GAE versions handlers: # DEVELOPMENT HANDLER -# (this handler block *must* be commented -# out before pushing to a production server) -- url: / - static_dir: / +- url: /(.+) + static_files: \1 + upload: (.+) -# PRODUCTION GAE HANDLER -#- url: /gae_shell/static -# static_dir: gae_shell/static -# expiration: 1d -# -#- url: /gae_shell/.* -# script: /gae_shell/shell.py -# login: admin -# -#- url: .* -# script: main.py +# Direct default, blank requests +- url: / + static_files: index.html + upload: index.html
\ No newline at end of file |