-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
84 lines (70 loc) · 1.65 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
runtime: python27
api_version: 1
threadsafe: yes
skip_files:
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- ^(.*/)?.*\.bak$
- ^(.*/)?.*\.DS_Store$
- ^(.*/)?.*/node_modules/.*$
- ^(.*/)?.*/src/.*$
- ^(webapp/node_modules/.*)
- ^(webapp/src/.*)
- ^(webapp/config/.*)
handlers:
- url: /agendamlg-api/.*
script: main.app
#https://gist.github.com/darktable/873098
- url: /(.*\.css)
mime_type: text/css
static_files: webapp/web/\1
upload: webapp/web/(.*\.css)
- url: /(.*\.eot)
mime_type: application/vnd.ms-fontobject
static_files: webapp/web/\1
upload: webapp/web/(.*\.eot)
- url: /(.*\.html)
mime_type: text/html
static_files: webapp/web/\1
upload: webapp/web/(.*\.html)
expiration: "1h"
- url: /(.*\.js)
mime_type: text/javascript
static_files: webapp/web/\1
upload: webapp/web/(.*\.js)
- url: /(.*\.map)
mime_type: application/json
static_files: webapp/web/\1
upload: webapp/web/(.*\.map)
- url: /(.*\.otf)
mime_type: font/opentype
static_files: webapp/web/\1
upload: webapp/web/(.*\.otf)
- url: /(.*\.(svg|svgz))
mime_type: images/svg+xml
static_files: webapp/web/\1
upload: webapp/web/(.*\.(svg|svgz))
- url: /(.*\.ttf)
mime_type: font/truetype
static_files: webapp/web/\1
upload: webapp/web/(.*\.ttf)
- url: /(.*\.woff)
mime_type: application/x-font-woff
static_files: webapp/web/\1
upload: webapp/web/(.*\.woff)
- url: /
static_files: webapp/web/index.html
upload: webapp/web/index.html
expiration: "15m"
# 404
- url: /.*
static_files: webapp/web/index.html
upload: webapp/web/index.html
libraries:
- name: webapp2
version: "2.5.2"
- name: ujson
version: "1.35"