| OLD | NEW |
| 1 runtime: go | 1 runtime: go |
| 2 api_version: go1 | 2 api_version: go1 |
| 3 service: default | 3 service: default |
| 4 | 4 |
| 5 instance_class: F4_1G | 5 instance_class: F4_1G |
| 6 | 6 |
| 7 handlers: | 7 handlers: |
| 8 # For static resources such as css and js files. | 8 # For static resources such as css and js files. |
| 9 - url: /static | 9 - url: /static |
| 10 secure: always | 10 secure: always |
| 11 static_dir: static | 11 static_dir: static |
| 12 | 12 |
| 13 # For sideloading data for testing and development. | |
| 14 - url: /_ah/remote_api | |
| 15 script: _go_app | |
| 16 | |
| 17 # For admin resources or endpoints meant to be hit by a cron job. | 13 # For admin resources or endpoints meant to be hit by a cron job. |
| 18 - url: /admin/.* | 14 - url: /admin/.* |
| 19 script: _go_app | 15 script: _go_app |
| 20 secure: always | 16 secure: always |
| 21 login: admin | 17 login: admin |
| 22 | 18 |
| 23 # Pubsub Handler. This is strictly necessary because the default module | 19 # Pubsub Handler. This is strictly necessary because the default module |
| 24 # contains a /.* routing rule, so if it was targetted directly, we still want | 20 # contains a /.* routing rule, so if it was targetted directly, we still want |
| 25 # login:admin to apply. | 21 # login:admin to apply. |
| 26 - url: /_ah/push-handlers/.* | 22 - url: /_ah/push-handlers/.* |
| 27 script: _go_app | 23 script: _go_app |
| 28 secure: always | 24 secure: always |
| 29 login: admin | 25 login: admin |
| 30 | 26 |
| 31 # Everything goes here. | 27 # Everything goes here. |
| 32 - url: /.* | 28 - url: /.* |
| 33 script: _go_app | 29 script: _go_app |
| 34 secure: always | 30 secure: always |
| 35 | 31 |
| 36 builtins: | |
| 37 - remote_api: on | |
| 38 | |
| 39 includes: | 32 includes: |
| 40 - ./static/include.yaml | 33 - ./static/include.yaml |
| 41 | 34 |
| 42 inbound_services: | 35 inbound_services: |
| 43 - warmup | 36 - warmup |
| OLD | NEW |