Last active
August 29, 2015 14:24
-
-
Save steren/8fd9516309573cb27cc5 to your computer and use it in GitHub Desktop.
Serve only static files with Google AppEngine (like on GitHub pages)
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
# Add this file at the root of your directory, | |
# and your static files in a public/ folder. | |
# Use 'gcloud preview app deploy .' to publish to AppEngine. | |
runtime: python27 | |
api_version: 1 | |
threadsafe: true | |
handlers: | |
- url: /(.+) | |
static_files: public/\1 | |
upload: public/(.*) | |
- url: / | |
static_files: public/index.html | |
upload: public/index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment