Fix Netlify overriding robots.txt
This commit is contained in:
parent
a11b4670f6
commit
9a4b8e6cc9
10
netlify.toml
10
netlify.toml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue