mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
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]]
|
[[edge_functions]]
|
||||||
function = "webfinger"
|
function = "webfinger"
|
||||||
path = "/.well-known/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
Block a user