Skip to content

Commit ceb3cf3

Browse files
feat: AI discovery (#717)
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 3fba85a commit ceb3cf3

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

juno.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ import type {
55
import { defineConfig } from "@junobuild/config";
66

77
const headers: StorageConfigHeader[] = [
8+
{
9+
source: "/",
10+
headers: [["Link", '</llms.txt>; rel="describedby"']]
11+
},
12+
{
13+
source: "/.well-known/api-catalog",
14+
headers: [["Content-Type", "application/linkset+json"]]
15+
},
816
{
917
source: "**/*.svg",
1018
headers: [["Cache-Control", "max-age=2592000, public"]]

static/.well-known/api-catalog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"linkset": [
3+
{
4+
"anchor": "https://juno.build",
5+
"service-doc": [
6+
{ "href": "https://juno.build/docs/guides/ai" }
7+
]
8+
}
9+
]
10+
}

static/robots.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
User-agent: *
22
Allow: /
33
Sitemap: https://juno.build/sitemap.xml
4-
Host: https://juno.build
4+
Host: https://juno.build
5+
Content-Signal: ai-train=no, search=yes, ai-input=yes

0 commit comments

Comments
 (0)