| # Copyright 2019 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. |
| app_start_timeout_sec: 600 |
| # The Dart server handles all requests. However, this is used to ensure the |
| # assets the dart server needs are uploaded to AppEngine. |
| - url: /v2/(.*\.(html|css|js|ico|svg|png|jpg|map))$ |
| application_readable: true # So the dart server can read the files |
| # If the Dart custom runtime changes and starts using this handler, |
| # we want to know. This will have the app only serve HTML and we |
| # will know we can remove the Dart handling code. Just swap |
| static_files: build/web/index.html |
| # app_flutter's build files needed to be copied over to this project. This |
| # is because the Google Cloud utility cannot go outside the scope of app_dart. |
| # Navigating to ../app_flutter/build/web will silently error. |
| upload: build/web/.*\.(html|css|js|ico|svg|png|jpg|map)$ |