Skip to content

Commit

Permalink
add static_files example to config.toml template
Browse files Browse the repository at this point in the history
  • Loading branch information
laktek committed Jan 15, 2025
1 parent 56e00da commit 29a24a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/config/templates/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,11 @@ inspector_port = 8083
# Uncomment to specify a custom file path to the entrypoint.
# Supported file extensions are: .ts, .js, .mjs, .jsx, .tsx
# entrypoint = "./functions/MY_FUNCTION_NAME/index.ts"
# Use static_files to specify static files to be bundled with the function.
# You can use explicit paths or glob patterns.
# For example, if you want to serve static HTML pages in your function:
# static_files = [ "./functions/MY_FUNCTION_NAME/*.html" ]


[analytics]
enabled = true
Expand Down

0 comments on commit 29a24a2

Please sign in to comment.