-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: append config.toml when creating new function (#3212)
* fix: append config.toml when creating new function * chore: update unit tests * chore: remove unnecessary comments from config template
- Loading branch information
1 parent
6ccc4fd
commit a1aab11
Showing
4 changed files
with
68 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
[functions.{{ . }}] | ||
enabled = true | ||
verify_jwt = true | ||
import_map = "./functions/{{ . }}/deno.json" | ||
# Uncomment to specify a custom file path to the entrypoint. | ||
# Supported file extensions are: .ts, .js, .mjs, .jsx, .tsx | ||
entrypoint = "./functions/{{ . }}/index.ts" | ||
# Specifies static files to be bundled with the function. Supports glob patterns. | ||
# For example, if you want to serve static HTML pages in your function: | ||
# static_files = [ "./functions/{{ . }}/*.html" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters