Created
February 15, 2018 07:06
-
-
Save ekoeryanto/ae7f8c3ec679aa00e197b64d5d7865e3 to your computer and use it in GitHub Desktop.
Google App Engine Static Website Route
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
handlers: | |
- url: /$ | |
static_files: public/index.html | |
upload: public/index.html | |
# Handle folder urls by serving the index.html page inside. | |
- url: /(.*)/$ | |
static_files: public/\1/index.html | |
upload: public/.*/index.html | |
# Handle nearly every other file by just serving it. | |
- url: /(.+) | |
static_files: public/\1 | |
upload: public/(.*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment