File size: 791 Bytes
44459bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# This is the configuration file for the Google App Engine instance.
# GAE is capable of hosting any sort of web app,
# however, here we focus on the static website hosting capabilities.
# https://cloud.google.com/appengine/docs/standard/hosting-a-static-website
runtime: python39

handlers:
  # static files with a URL ending with a file extension
  # (e.g. favicon.ico, manifest.json, jylade.png)
  - url: /(.*\..+)$
    static_files: site/\1
    upload: site/(.*\..+)$
  # index page
  - url: /
    static_files: site/index.html
    upload: site/index.html
  # anything that ends with a slash (e.g. /docs/)
  - url: /(.*)/$
    static_files: site/\1/index.html
    upload: site/(.*)
  # anything else (e.g. /docs)
  - url: /(.*)
    static_files: site/\1/index.html
    upload: site/(.*)