-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathapp.yaml
29 lines (26 loc) · 1.03 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
runtime: python311
# https://cloud.google.com/appengine/docs/standard#second-gen-runtimes
instance_class: F2 #default value
handlers:
# https://cloud.google.com/appengine/docs/standard/python3/config/appref
- url: /static/general_website/js
static_dir: static/general_website/js
mime_type: text/javascript
# This configures Google App Engine to serve the files in the app's static
# directory.
- url: /static
static_dir: static/
# Ensure old import paths will keep working when we'll do the switch.
- url: /js
static_dir: static/general_website/js
# add favicon https://cloud.google.com/appengine/docs/standard/python3/serving-static-files#configuring_your_static_file_handlers
- url: /favicon\.ico
static_files: static/general_website/favicon.ico
upload: favicon\.ico
# 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: /.*
script: auto
inbound_services:
- warmup