-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
63 lines (53 loc) · 1.15 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
service: website
runtime: python27
threadsafe: yes
handlers:
# Routing for Javacript to serve directly
- url: /(.+\.js)
static_files: dist/\1
upload: dist/.*
secure: always
# Routing for a prod styles.css to serve directly
- url: /(.+\.css)
static_files: dist/\1
upload: dist/.*
secure: always
# Routing for typedoc, assets and favicon.ico to serve directly
- url: /((?:assets|docs)/.*|favicon\.ico)
static_files: dist/\1
upload: dist/.*
secure: always
# Routing for ads.txt file
- url: /ads.txt
static_files: dist/ads.txt
upload: dist/ads.txt
secure: always
# Use index.html for everything else.
- url: /
static_files: dist/index.html
upload: dist/index.html
secure: always
- url: /.*
static_files: dist/index.html
upload: dist/index.html
secure: always
# Temporary setting to keep gcloud from uploading not required files for deployment
skip_files:
- ^node_modules$
- ^app\.yaml
- ^README\..*
- \.gitignore
- ^\.git$
- ^grunt\.js
- ^src$
- ^e2e$
- \.editorconfig
- ^karma\.config\.js
- ^package\.json
- ^protractor\.conf\.js
- ^(.*/)?.patch$
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$