Replace FN_ROUTE with FN_PATH

This commit is contained in:
Travis Reeder
2017-09-20 11:35:18 -07:00
parent cdb74915de
commit 904f288ed6
6 changed files with 10 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ You will also have access to a set of environment variables.
* `FN_REQUEST_URL` - the full URL for the request ([parsing example](https://github.com/fnproject/fn/tree/master/examples/tutorial/params))
* `FN_APP_NAME` - the name of the application that matched this route, eg: `myapp`
* `FN_ROUTE` - the matched route, eg: `/hello`
* `FN_PATH` - the matched route, eg: `/hello`
* `FN_METHOD` - the HTTP method for the request, eg: `GET` or `POST`
* `FN_CALL_ID` - a unique ID for each function execution.
* `FN_FORMAT` - a string representing one of the [function formats](function-format.md), currently either `default` or `http`. Default is `default`.