-
Notifications
You must be signed in to change notification settings - Fork 9
/
app.yaml
57 lines (49 loc) · 1.88 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
#application: devfestnantes2016
#version: v3
runtime: python27
api_version: 1
threadsafe: true
default_expiration: "15m"
handlers:
# re-direct to index.html if no path is give
- url: /
static_files: index.html
upload: index.html
expiration: "0d 5m"
secure: always
# http_headers:
# Link: '</scripts/material.min.js>; rel=preload; as=script, </styles/material.indigo-red.min.css>; rel=preload; as=style, </images/background.jpg>; rel=preload; as=image, </images/title.png>; rel=preload; as=image'
- url: /en
static_files: en/index.html
upload: en/index.html
expiration: "0d 5m"
secure: always
# http_headers:
# Link: '</scripts/material.min.js>; rel=preload; as=script, </styles/material.indigo-red.min.css>; rel=preload; as=style, </images/background.jpg>; rel=preload; as=image, </images/title.png>; rel=preload; as=image'
# re-direct to index.html
- url: /index.html(.*)
static_files: index.html
upload: index.html(.*)
expiration: "0d 5m"
secure: always
# http_headers:
# Link: '</scripts/material.min.js>; rel=preload; as=script, </styles/material.indigo-red.min.css>; rel=preload; as=style, </images/background.jpg>; rel=preload; as=image, </images/title.png>; rel=preload; as=image'
# Cas du json de programme
- url: /assets/devfest.json
static_files: assets/devfest.json
upload: /assets/devfest.json
http_headers:
Access-Control-Allow-Origin: "*"
# access the static resources in the root director
- url: /(.*\.(css|gif|png|jpg|jpeg|ico|js|htm|xml|txt|ttf|json|svg|woff|eot|xcf|webm|mp4))
static_files: \1
upload: (.*\.(css|gif|png|jpg|jpeg|ico|js|htm|xml|txt|ttf|json|svg|woff|eot|xcf|webm|mp4))
- url: /(.*\.(html))
static_files: \1
upload: (.*\.(html))
# http_headers:
# Link: '</scripts/material.min.js>; rel=preload; as=script, </styles/material.indigo-red.min.css>; rel=preload; as=style'
skip_files:
- ^node_modules/*.*
- ^\.git/*.*
- ^\.tmp/*.*