Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ The `route()` method takes a single string for the route ID ("main" in this case

To access all routes, or to search for a route that has no ID, the `routes()` method returns an dictionary of routes keyed by their URL. That mirrors the structure of the `PLATFORM_ROUTES` environment variable.

If called in the build phase an exception is thrown.
If called in the build phase, in a non-Platform.sh environment or in a worker environment, a `RuntimeError` is raised.