diff options
| author | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-03-25 15:54:20 +0500 |
|---|---|---|
| committer | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-03-25 15:54:20 +0500 |
| commit | 5f0ebaf35138ce3dbd0b54be216c1b7622847d94 (patch) | |
| tree | 56dec707a37e99355cae6e26e639f3bcc71e76b7 /src/Render | |
| parent | dfa01a99fc632987b329d698f227c6ed426b5664 (diff) | |
Diffstat (limited to 'src/Render')
| -rw-r--r-- | src/Render/Render.go | 5 |
1 files changed, 5 insertions, 0 deletions
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" { |
