Skip to content

Commit b8a60da

Browse files
joefernandezAndroid (Google) Code Review
authored andcommitted
Merge "docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher" into klp-modular-docs
2 parents 556f23a + 5702425 commit b8a60da

1 file changed

Lines changed: 16 additions & 29 deletions

File tree

docs/html/app.yaml

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,25 @@
11
application: androidappdocs-staging
22
version: 1
3-
runtime: python
3+
runtime: python27
4+
threadsafe: true
45
api_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

2015
handlers:
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

Comments
 (0)