1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-12-02 20:22:52 +00:00

use yml for config

This commit is contained in:
Laura
2025-08-16 15:15:06 +02:00
parent f5f984a46f
commit abefbf1b92
12 changed files with 71 additions and 127 deletions

View File

@@ -35,7 +35,7 @@ func main() {
r.Get("/-/data", func(w http.ResponseWriter, r *http.Request) {
RespondJson(w, http.StatusOK, map[string]any{
"version": Version,
"search": ExaToken != "",
"search": env.Tokens.Exa != "",
"models": models,
})
})