diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Render/Render.go | 5 | ||||
| -rwxr-xr-x | src/physick.ru | bin | 15061848 -> 15644232 bytes |
2 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" { diff --git a/src/physick.ru b/src/physick.ru Binary files differindex 6bc4419..e392b51 100755 --- a/src/physick.ru +++ b/src/physick.ru |
