Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2f5f47f authored by Joe Fernandez's avatar Joe Fernandez Committed by Android Git Automerger
Browse files

am a73fa92c: am 2c1ef532: am 1968b919: am b8a60dad: Merge "docs: Update the...

am a73fa92c: am 2c1ef532: am 1968b919: am b8a60dad: Merge "docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher" into klp-modular-docs

* commit 'a73fa92c2e0bada989b9196425e179fcc5b8b0de':
  docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher
parents 6bd2c57c a8f4252d
Loading
Loading
Loading
Loading
+16 −29
Original line number Original line Diff line number Diff line
application: androidappdocs-staging
application: androidappdocs-staging
version: 1
version: 1
runtime: python
runtime: python27
threadsafe: true
api_version: 1
api_version: 1
# compatibility: gae-1.9.4+


# This file defines two mutually exclusive 
# handler for local staging servers
# hander blocks:
# WARNING: NOT FOR USE IN PRODUCTION
# - a handler for use on a local dev_appserver

#   during development or non-production doc build
# Use this handler definition with
# - a handler for use on a production gae 
# Google App Engine 1.9.4 or higher.
#   instance. This handler requires that the
# NOT compatible with prior GAE versions
#   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. 


handlers:
handlers:


# DEVELOPMENT HANDLER
# DEVELOPMENT HANDLER
# (this handler block *must* be commented
- url: /(.+)
# out before pushing to a production server)
  static_files: \1
- url: /
  upload: (.+)
  static_dir: /


# PRODUCTION GAE HANDLER
# Direct default, blank requests
#- url: /gae_shell/static
- url: /
#  static_dir: gae_shell/static
  static_files: index.html
#  expiration: 1d
  upload: index.html
#
 No newline at end of file
#- url: /gae_shell/.*
#  script: /gae_shell/shell.py
#  login: admin
#
#- url: .*
#  script: main.py