-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapp.yaml
138 lines (115 loc) · 2.1 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
application: ice-sim
version: alpha
runtime: python27
api_version: 1
threadsafe: yes
# d for days, h for hours, m for minutes, and s for seconds
default_expiration: "6h"
builtins:
- remote_api: on
handlers:
## DOCS
## https://stackoverflow.com/questions/20425364/could-not-guess-mimetype
# site root
- url: /
static_files: index.html
upload: index.html
# timeranges ### TEMPORARY ###
- url: /timeranges.js
static_files: timeranges.js
upload: timeranges.js
expiration: "1h"
- url: /header.js
static_files: header.js
upload: header.js
expiration: "1d"
## FAVICON
- url: /favicon\.ico
static_files: images/favicon.ico
upload: images/favicon\.ico
## JSON / GEOJSON
- url: /data/json/(.*\.json)
static_files: data/json/\1
upload: data/json/(.*\.json)
mime_type: text/plain
expiration: "30d"
- url: /data/json/(.*\.geojson)
static_files: data/json/\1
upload: data/json/(.*\.geojson)
mime_type: text/plain
expiration: "30d"
## DODS / OBS
- url: /data/gfs/(.*\.dods)
static_files: data/gfs/\1
upload: data/gfs/(.*\.dods)
mime_type: text/plain
## DODS / STATIC
- url: /data/landsfc/(.*\.dods)
static_files: data/landsfc/\1
upload: data/landsfc/(.*\.dods)
mime_type: text/plain
## DATA
- url: /data
static_dir: data
## IMAGES
- url: /images
static_dir: images
expiration: "30d"
## JS
- url: /js
static_dir: js
expiration: "30d"
## LIBS
- url: /libs
static_dir: libs
expiration: "30d"
## CSS
- url: /css
static_dir: css
expiration: "30d"
## CATCH AL
- url: /.*
static_files: index.html
upload: index.html
## IGNORE
skip_files: |
^(.*/)?(
(#.*#)|
(.*~)|
(.*\.bat)|
(.*\.xcf)|
(.*\.rar)|
(.*\.zip)|
(.*\.gz)|
(.*\.py[co])|
(.*/RCS/.*)|
(\..*)|
(dev/.*)|
(static/debug/.*)|
(static/stuff/.*)|
(templates/debug/.*)|
(tests/.*)|
(docs/.*)|
(.*\.markdown)|
(license\.txt)|
(Makefile)|
(datastore)|
(stuff)|
(org)|
(setup.py)|
(node_modules/.*)|
(stuff/.*)|
(doc/.*)|
(shader/.*)|
(compiler/.*)|
(LICENSE)|
(http-8765.sh)|
(stuff.txt)|
(.eslintrc)|
(README.md)|
(npm-debug.log)|
(package.json)|
(.gitignore)|
(upload.sh)|
(.git)
)$