Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

Commit cd932f8

Browse files
committed
Update app.yaml rules
1 parent b620c19 commit cd932f8

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

app.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,50 @@ automatic_scaling:
2424
cool_down_period_sec: 60
2525
cpu_utilization:
2626
target_utilization: 0.5
27+
28+
handlers:
29+
30+
- url: /
31+
script: template.app
32+
secure: always
33+
34+
- url: /images/(.*)
35+
static_files: dist/images/\1
36+
expiration: "365d"
37+
upload: dist/images/(.*)
38+
secure: always
39+
40+
- url: /sw.js
41+
static_files: dist/sw.js
42+
expiration: "1s"
43+
upload: dist/sw.js
44+
secure: always
45+
46+
- url: /favicon.ico
47+
static_files: dist/favicon.ico
48+
expiration: "365d"
49+
upload: dist/favicon.ico
50+
secure: always
51+
52+
- url: /manifest.json
53+
static_files: dist/manifest.json
54+
expiration: "1s"
55+
upload: dist/manifest.json
56+
secure: always
57+
58+
- url: /LICENSE
59+
static_files: dist/LICENSE
60+
expiration: "7d"
61+
mime_type: text/plain
62+
upload: dist/LICENSE
63+
secure: always
64+
65+
- url: /(.*)
66+
script: template.app
67+
secure: always
68+
69+
- url: /src/(.*)
70+
static_files: src/\1
71+
upload: src/(.*)
72+
secure: always
2773
# [END app_yaml]

0 commit comments

Comments
 (0)