| # Copyright (c) 2016 The Flutter Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| runtime: go |
| api_version: go1 |
| |
| handlers: |
| - url: / |
| static_files: build/web/index.html |
| upload: build/web/index.html |
| secure: always |
| - url: /(.*\.(html|css|js|ico|svg|png|jpg|map|dart|json))$ |
| static_files: build/web/\1 |
| upload: build/web/.*\.(html|css|js|ico|svg|png|jpg|map|dart|json)$ |
| secure: always |
| - url: /api/.* |
| script: _go_app |
| secure: always |
| skip_files: |
| - (.+/)?(?<!build/web/)packages(?!/browser)/.* |
| - .pub/.* |
| - .atom/.* |
| - .packages |
| - .dart_tool/.* |