Skip to content

Commit

Permalink
updated app.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisj committed Mar 18, 2024
1 parent 666fd84 commit d02bcf5
Showing 1 changed file with 14 additions and 27 deletions.
41 changes: 14 additions & 27 deletions appengine/frontend/app.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,19 @@
runtime: python27
api_version: 1
threadsafe: true

# The skip_files element specifies which files
# in the application directory are not to be
# uploaded to App Engine.
skip_files:
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- ^node_modules$
runtime: python312

service: default

handlers:
# Handle the main page by serving the index page.
# Note the $ to specify the end of the path, since app.yaml does prefix matching.
- url: /$
static_files: static/index.html
upload: static/index.html
login: optional
secure: always
redirect_http_response_code: 301
# Handle the main page by serving the index page.
# Note the $ to specify the end of the path, since app.yaml does prefix matching.
- url: /$
static_files: static/index.html
upload: static/index.html
login: optional
secure: always
redirect_http_response_code: 301

- url: /
static_dir: static
login: optional
secure: always
redirect_http_response_code: 301
- url: /
static_dir: static
login: optional
secure: always
redirect_http_response_code: 301

0 comments on commit d02bcf5

Please sign in to comment.