Skip to content

Commit

Permalink
routes documentation in app.md matches app_spec.go (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
olaven committed Dec 28, 2022
1 parent 8530567 commit 8a7bf13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/resources/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ A `service` can contain:
- `value` - The value of the environment variable.
- `scope` - The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
- `type` - The type of the environment variable, `GENERAL` or `SECRET`.
* `route` - An HTTP paths that should be routed to this component.
* `routes` - An HTTP paths that should be routed to this component.
- `path` - Paths must start with `/` and must be unique within the app.
- `preserve_path_prefix` - An optional flag to preserve the path that is forwarded to the backend service.
* `health_check` - A health check to determine the availability of this component.
Expand Down Expand Up @@ -258,7 +258,7 @@ A `static_site` can contain:
- `value` - The value of the environment variable.
- `scope` - The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
- `type` - The type of the environment variable, `GENERAL` or `SECRET`.
* `route` - An HTTP paths that should be routed to this component.
* `routes` - An HTTP paths that should be routed to this component.
- `path` - Paths must start with `/` and must be unique within the app.
- `preserve_path_prefix` - An optional flag to preserve the path that is forwarded to the backend service.
* `cors` - The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
Expand Down Expand Up @@ -396,7 +396,7 @@ A `function` component can contain:
- `value` - The value of the environment variable.
- `scope` - The visibility scope of the environment variable. One of `RUN_TIME`, `BUILD_TIME`, or `RUN_AND_BUILD_TIME` (default).
- `type` - The type of the environment variable, `GENERAL` or `SECRET`.
* `route` - An HTTP paths that should be routed to this component.
* `routes` - An HTTP paths that should be routed to this component.
- `path` - Paths must start with `/` and must be unique within the app.
- `preserve_path_prefix` - An optional flag to preserve the path that is forwarded to the backend service.
* `cors` - The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
Expand Down

0 comments on commit 8a7bf13

Please sign in to comment.