mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
fix: use correct excludedPath syntax for Netlify edge functions
This commit is contained in:
@@ -44,11 +44,11 @@
|
||||
path = "/api/geo"
|
||||
function = "geo"
|
||||
|
||||
# Open Graph bot detection (excludes static files and API routes)
|
||||
# Open Graph bot detection (excludes raw markdown directory)
|
||||
[[edge_functions]]
|
||||
path = "/*"
|
||||
function = "botMeta"
|
||||
excluded_paths = ["/raw/*", "/api/*", "/**/*.md", "/**/*.xml", "/**/*.txt", "/**/*.yaml", "/**/*.json"]
|
||||
excludedPath = "/raw/*"
|
||||
|
||||
# Security and SEO headers
|
||||
[[headers]]
|
||||
|
||||
Reference in New Issue
Block a user