From 20984d8bcce2ea1fe4a44679777d264b9392e46b Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Sun, 19 Apr 2026 15:23:06 +0200 Subject: [PATCH] feat: AI discovery Signed-off-by: David Dal Busco --- juno.config.ts | 8 ++++++++ static/.well-known/api-catalog | 10 ++++++++++ static/robots.txt | 3 ++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 static/.well-known/api-catalog diff --git a/juno.config.ts b/juno.config.ts index eeabdd13..cb359659 100644 --- a/juno.config.ts +++ b/juno.config.ts @@ -5,6 +5,14 @@ import type { import { defineConfig } from "@junobuild/config"; const headers: StorageConfigHeader[] = [ + { + source: "/", + headers: [["Link", '; rel="describedby"']] + }, + { + source: "/.well-known/api-catalog", + headers: [["Content-Type", "application/linkset+json"]] + }, { source: "**/*.svg", headers: [["Cache-Control", "max-age=2592000, public"]] diff --git a/static/.well-known/api-catalog b/static/.well-known/api-catalog new file mode 100644 index 00000000..af5d9f81 --- /dev/null +++ b/static/.well-known/api-catalog @@ -0,0 +1,10 @@ +{ + "linkset": [ + { + "anchor": "https://juno.build", + "service-doc": [ + { "href": "https://juno.build/docs/guides/ai" } + ] + } + ] +} \ No newline at end of file diff --git a/static/robots.txt b/static/robots.txt index 71823840..747cd874 100644 --- a/static/robots.txt +++ b/static/robots.txt @@ -1,4 +1,5 @@ User-agent: * Allow: / Sitemap: https://juno.build/sitemap.xml -Host: https://juno.build \ No newline at end of file +Host: https://juno.build +Content-Signal: ai-train=no, search=yes, ai-input=yes \ No newline at end of file