-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
32 lines (28 loc) · 931 Bytes
/
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
runtime: python310
service: smm2
handlers:
# This configures Google App Engine to serve the files in the app's static
# directory.
# each path for static file and others are redirected
- url: /assets
static_dir: client2/dist/assets
secure: always
redirect_http_response_code: 301
- url: /favicon.ico
static_files: client2/dist/favicon.ico
upload: client2/dist/favicon\.ico
secure: always
redirect_http_response_code: 301
# This handler routes all requests not caught above to your main app. It is
# required when static routes are defined, but can be omitted (along with
# the entire handlers section) when there are no static files defined.
- url: /api/graphql
script: auto
secure: always
redirect_http_response_code: 301
# For any path callback for SPA
- url: /.*
static_files: client2/dist/index.html
upload: client2/dist/index\.html
secure: always
redirect_http_response_code: 301