| runtime: go113 |
| service: go-dev |
| main: ./cmd/frontend |
| |
| handlers: |
| - url: / |
| static_files: public/index.html |
| upload: public/index.html |
| |
| - url: /(explore|learn) |
| secure: always |
| redirect_http_response_code: 301 |
| script: auto |
| |
| - url: /(explore|learn)/* |
| secure: always |
| redirect_http_response_code: 301 |
| script: auto |
| |
| # Special handler for static content in themes or page bundles. |
| - url: /(.*)\.(png|svg|css|jpeg|jpg|xml|html)$ |
| static_files: public/\1.\2 |
| upload: public/(.*) |
| |
| # Handle arbitrary paths with an index.html, special casing the trailing slash. |
| - url: /(.*)/ |
| static_files: public/\1/index.html |
| upload: public/(.*)/index.html |
| |
| # Handle arbitrary paths with an index.html |
| - url: /(.*) |
| static_files: public/\1/index.html |
| upload: public/(.*)/index.html |
| |
| - url: /.* |
| secure: always |
| redirect_http_response_code: 301 |
| script: auto |