chore: create well-known dir; fix 404
This commit is contained in:
parent
cf56e0c4d5
commit
dd56c5ff62
4 changed files with 17 additions and 1 deletions
|
@ -64,3 +64,8 @@ for = "/.well-known/webfinger"
|
|||
for = "/.well-known/gpc.json"
|
||||
[headers.values]
|
||||
Content-Type = "application/jrd+json; charset=utf-8"
|
||||
|
||||
[[headers]]
|
||||
for = "/.well-known/traffic-advice"
|
||||
[headers.values]
|
||||
Content-Type = "application/trafficadvice+json"
|
11
src/well-known/traffic-advice.liquid
Normal file
11
src/well-known/traffic-advice.liquid
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
permalink: '.well-known/traffic-advice'
|
||||
eleventyExcludeFromCollections: true
|
||||
dynamicPermalink: false
|
||||
---
|
||||
[{
|
||||
"user_agent": "prefetch-proxy",
|
||||
"google_prefetch_proxy_eap": {
|
||||
"fraction": 1.0
|
||||
}
|
||||
}]
|
Reference in a new issue