Created
February 5, 2020 10:36
-
-
Save owulveryck/319cc2f7462afdde5bd346f16b2ee8ba to your computer and use it in GitHub Desktop.
Service static files with GAE (google app-engine)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runtime: python37 | |
service: website | |
handlers: | |
- url: /(.*)/ | |
static_files: www/\1/index.html | |
upload: www/(.*) | |
- url: / | |
static_files: www/index.html | |
upload: www/index.html | |
- url: /([^\.]*) | |
static_files: www/\1/index.html | |
upload: www/(.*) | |
- url: /(.*/[^\.|^/]*$) | |
static_files: www/\1/index.html | |
upload: www/(.*) | |
- url: /(.*) | |
static_files: www/\1 | |
upload: www/(.*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment