-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.yaml
109 lines (84 loc) · 1.84 KB
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
application: 1heartpy
version: 4
runtime: python
api_version: 1
default_expiration: "15d"
#for browser static caching
#########################
handlers:
- url: /
script: handlers/main.py
- url: /resources
script: handlers/main.py
- url: /instructions
script: handlers/main.py
- url: /wth
script: handlers/main.py
- url: /badges
script: handlers/badges.py
- url: /download
script: handlers/zipme.py
- url: /shell
script: handlers/shell.py
login: required
auth_fail_action: redirect
- url: /shell.do
script: handlers/shell.py
login: required
auth_fail_action: unauthorized
- url: /shell.delete
script: handlers/shell.py
- url: /(.+\.(txt|xml|html))
static_files: txt/\1
upload: txt/(.+\.(txt|xml|html))
expiration: "15d"
- url: /(.+\.(appcache))
static_files: appcache/\1
mime_type: text/cache-manifest
upload: appcache/(.+\.(appcache))
expiration: "15d"
- url: /(.+\.(gif|png|jpg|ico|jpeg))
static_files: site/images/\1
upload: site/images/(.+\.(gif|png|jpg|ico|jpeg))
expiration: "30d"
- url: /css
static_dir: site/css
expiration: "30d"
- url: /js
static_dir: site/js
expiration: "30d"
- url: /images
static_dir: site/images
expiration: "30d"
- url: /.*
script: handlers/main.py
#########################
builtins:
- datastore_admin: on
- appstats: on
- remote_api: on
- admin_redirect: on
#########################
inbound_services:
- warmup
#########################
error_handlers:
- file: error/error.html
- error_code: over_quota
file: error/quota.html
- error_code: dos_api_denial
file: error/deny.html
- error_code: timeout
file: error/timeout.html
#########################
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?.*\.bak