forked from EasyLearnCode/easylearncode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
145 lines (115 loc) · 2.85 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
139
140
141
142
143
144
145
application: easylearncode
version: beta
runtime: python27
api_version: 1
threadsafe: true
default_expiration: "30d"
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?tests$
- ^(.*/)?test$
- ^test/(.*/)?
- ^COPYING.LESSER
- ^README\..*
- \.gitignore
- ^\.git/.*
- \.*\.lint$
- ^fabfile\.py
- ^testrunner\.py
- ^grunt\.js
- ^node_modules/(.*/)?
builtins:
- appstats: on #/_ah/stats/
- remote_api: on #/_ah/remote_api/
- deferred: on #/_ah/queue/deferred
inbound_services:
- channel_presence
handlers:
- url: /quanly/.*
script: google.appengine.ext.admin.application
login: admin
- url: /admin/css
mime_type: text/css
static_dir: admin/static/css
- url: /admin/js
mime_type: text/javascript
static_dir: admin/static/js
- url: /admin/img
static_dir: admin/static/img
- url: /admin/font
static_dir: admin/static/font
- url: /admin/template/angular/
mime_type: text/html
static_dir: admin/static/views
- url: /admin.*
script: main.app
login: admin
- url: /favicon\.ico
mime_type: image/vnd.microsoft.icon
static_files: static/favicon.ico
upload: static/favicon.ico
- url: /apple-touch-icon\.png
static_files: static/apple-touch-icon.png
upload: static/apple-touch-icon.png
- url: /apple-touch-icon-precomposed\.png
static_files: static/apple-touch-icon-precomposed.png
upload: static/apple-touch-icon-precomposed.png
- url: /(robots\.txt|humans\.txt|crossdomain\.xml)
static_files: static/\1
upload: static/(robots\.txt|humans\.txt|crossdomain\.xml)
- url: /application/css
mime_type: text/css
static_dir: application/static/css
- url: /application/js
mime_type: text/javascript
static_dir: application/static/js
- url: /application/img
static_dir: application/static/img
- url: /templates/angular
mime_type: text/html
static_dir: application/static/views
- url: /img/(.*\.(gif|png|jpg|jpeg))
static_files: static/img/\1
upload: static/img/(.*\.(gif|png|jpg|jpeg))
- url: /css/(.*\.(gif|png|jpg|jpeg))
static_files: static/css/\1
upload: static/css/(.*\.(gif|png|jpg|jpeg))
- url: /css
mime_type: text/css
static_dir: static/css
- url: /js
mime_type: text/javascript
static_dir: static/js
- url: /.*
script: main.app
# secure: always
libraries:
- name: jinja2
version: "2.6"
- name: webapp2
version: "2.5.2"
- name: markupsafe
version: "0.15"
- name: pycrypto
version: "2.6"
- name: PIL
version: latest
error_handlers:
# Only errors with error_code, don't put a default error here
- error_code: over_quota
file: application/templates/errors/over_quota.html
- error_code: dos_api_denial
file: application/templates/errors/dos_api_denial.html
- error_code: timeout
file: application/templates/errors/timeout.html
pagespeed:
enabled_rewriters:
- MinifyCss
disabled_rewriters:
- LazyloadImages