summaryrefslogtreecommitdiff
path: root/extras/appengine/app.yaml
blob: 14aab5ef4c1df539871cce9b42461d0d585ea9b3 (plain)
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
application: sqlformat
version: 2
runtime: python
api_version: 1

default_expiration: 7d  # This is good for images, which never change

handlers:

- url: /(robots.txt|favicon.ico|sitemap.xml)
  static_files: static/\1
  upload: static/(robots.txt|favicon.ico|sitemap.xml)

- url: /google7a062e78b56854c0.html
  static_files: static/robots.txt
  upload: static/robots.txt

- url: /static/(script.js|styles.css|upload.py)
  static_files: static/\1
  upload: static/(script.js|styles.css|upload.py)
  expiration: 1h  # Shorter expiration, these change often

- url: /static
  static_dir: static

- url: .*
  script: main.py

derived_file_type:
- python_precompiled