Skip to content

Commit e609b9b

Browse files
authored
Adds FUNCTION_SOURCE env var to README
1 parent 1eff2e8 commit e609b9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ You can configure the Functions Framework using the environment variables shown
164164
| ------------------------- | -----------
165165
| `FUNCTION_TARGET` | The name of the exported function to be invoked in response to requests.
166166
| `FUNCTION_SIGNATURE_TYPE` | The signature used when writing your function. Controls unmarshalling rules and determines which arguments are used to invoke your function. Can be either `http` or `event`.
167+
| `FUNCTION_SOURCE` | The name of the file containing the source code for your function to load. By default the file **index.php** is loaded in the application root if it exists.
167168

168169
# Enable CloudEvents
169170

0 commit comments

Comments
 (0)