-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.yaml
More file actions
105 lines (88 loc) · 2.38 KB
/
Copy pathapp.yaml
File metadata and controls
105 lines (88 loc) · 2.38 KB
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
# Configuration inspired by Ricardo Mendes
# Original repository: ricardolsmendes/gcp-cloudbuild-gae-angular
runtime: python27
api_version: 1
threadsafe: yes
# Google App Engine's cache default expiration time is 10 minutes. It's suitable for most Production
# scenarios, but a shorter TTL may be desired for Development and QA, as it allows us to see a fresh
# code in action just a minute after the deployment.
# default_expiration: 60s
handlers:
- url: /(.+\.js)
static_files: dist/\1
upload: dist/(.+\.js)
secure: always
redirect_http_response_code: 301
- url: /(.+\.css)
static_files: dist/\1
upload: dist/(.+\.css)
secure: always
redirect_http_response_code: 301
- url: /assets/(.+\.png)
static_files: dist/\1
upload: dist/assets/(.+\.png)
secure: always
redirect_http_response_code: 301
- url: /(.+\.png)
static_files: dist/\1
upload: dist/(.+\.png)
secure: always
redirect_http_response_code: 301
- url: /(.+\.jpg)
static_files: dist/\1
upload: dist/(.+\.jpg)
secure: always
redirect_http_response_code: 301
- url: /(.+\.gif)
static_files: dist/\1
upload: dist/(.+\.gif)
secure: always
redirect_http_response_code: 301
- url: /(.+\.tff)
static_files: dist/\1
upload: dist/(.+\.tff)
secure: always
redirect_http_response_code: 301
- url: /(.+\.eot)
static_files: dist/\1
upload: dist/(.+\.eot)
secure: always
redirect_http_response_code: 301
- url: /(.+\.woff2)
static_files: dist/\1
upload: dist/(.+\.woff2)
secure: always
redirect_http_response_code: 301
- url: /(.+\.svg)
static_files: dist/\1
upload: dist/(.+\.svg)
secure: always
redirect_http_response_code: 301
- url: /favicon.ico
static_files: dist/favicon.ico
upload: dist/favicon.ico
secure: always
redirect_http_response_code: 301
- url: /(.+\.json)
static_files: dist/\1
upload: dist/(.+\.json)
secure: always
redirect_http_response_code: 301
- url: /(.+)
static_files: dist/index.html
upload: dist/index.html
secure: always
redirect_http_response_code: 301
- url: /
static_files: dist/index.html
upload: dist/index.html
secure: always
redirect_http_response_code: 301
skip_files:
- e2e/
- node_modules/
- src/
- ^(.*/)?\..*$
- ^(.*/)?.*\.md$
- ^(.*/)?.*\.yaml$
- ^LICENSE