https://github.com/serhalp/repro-netlify-functions-path-wildcard
Verify behavior of wildcards in Netlify Functions config "path" option
https://github.com/serhalp/repro-netlify-functions-path-wildcard
Last synced: 8 months ago
JSON representation
Verify behavior of wildcards in Netlify Functions config "path" option
- Host: GitHub
- URL: https://github.com/serhalp/repro-netlify-functions-path-wildcard
- Owner: serhalp
- Created: 2024-04-30T11:43:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T12:18:25.000Z (about 2 years ago)
- Last Synced: 2025-10-06T21:37:23.191Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Verifying Netlify Functions config `path` wildcard behavior
Verifying the behavior of Netlify Functions' `path` config option when a wildcard
is included.
To "repro":
1. Visit the root (`/`). This renders the static `index.html` page as expected
(`preferStatic: true` specified on function).
2. Visit any other path, e.g. `/foo-bar-baz`.
Expected: a page with the message "This was rendered by the 'hello' function"
Observed: a 404