Fix Netlify overriding robots.txt

This commit is contained in:
Harsh Shandilya 2023-10-06 21:29:58 +05:30 committed by GitHub
parent a11b4670f6
commit 9a4b8e6cc9
1 changed files with 10 additions and 0 deletions

View File

@ -20,3 +20,13 @@ function = "root"
[[edge_functions]]
function = "webfinger"
path = "/.well-known/webfinger"
[[redirects]]
from = "/robots.txt"
to = "/robots.txt"
status = 200
[[redirects]]
from = "/sitemap.xml"
to = "/sitemap.xml"
status = 200