From 5f0ebaf35138ce3dbd0b54be216c1b7622847d94 Mon Sep 17 00:00:00 2001 From: Physick <96335032+DegustatorPonos@users.noreply.github.com> Date: Wed, 25 Mar 2026 15:54:20 +0500 Subject: llms --- src/Render/Render.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Render/Render.go') diff --git a/src/Render/Render.go b/src/Render/Render.go index 45d81c0..66981e9 100644 --- a/src/Render/Render.go +++ b/src/Render/Render.go @@ -20,6 +20,7 @@ func RegisterEndpoints() { // http.Handle("static/", http.FileServer(http.FS(os.DirFS(settings.Current.StaticLocation)))) http.HandleFunc("/articles/{name}", test) http.HandleFunc("/.well-known/discord", discord_verification) + http.HandleFunc("/llms.txt", llms) http.HandleFunc("/", mux) } @@ -27,6 +28,10 @@ func discord_verification(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, fmt.Sprintf("%s/discord.txt", settings.Current.StaticLocation)) } +func llms(w http.ResponseWriter, r *http.Request) { + http.ServeFile(w, r, fmt.Sprintf("%s/llms.txt", settings.Current.StaticLocation)) +} + func mux(w http.ResponseWriter, r *http.Request) { // slog.Info("Request", slog.String("URL", r.URL.String())) if r.URL.String() == "/favicon.ico" { -- cgit v1.3