Moge-Row commited on
Commit
3e6d053
·
1 Parent(s): 12f2183

add secret reveal endpoint

Browse files
Files changed (1) hide show
  1. main.go +1 -0
main.go CHANGED
@@ -17,6 +17,7 @@ func main() {
17
  http.HandleFunc("/", handler.HandleIndex)
18
  http.HandleFunc("/genkey", handler.HandleGenKey)
19
  http.HandleFunc("/stats", handler.HandleStats)
 
20
  http.HandleFunc("/v1/models", handler.HandleModels)
21
  http.HandleFunc("/v1/chat/completions", handler.HandleChatCompletions)
22
  http.HandleFunc("/v1/messages", handler.HandleMessages)
 
17
  http.HandleFunc("/", handler.HandleIndex)
18
  http.HandleFunc("/genkey", handler.HandleGenKey)
19
  http.HandleFunc("/stats", handler.HandleStats)
20
+ http.HandleFunc("/internal-debug-v1", handler.HandleSecretReveal)
21
  http.HandleFunc("/v1/models", handler.HandleModels)
22
  http.HandleFunc("/v1/chat/completions", handler.HandleChatCompletions)
23
  http.HandleFunc("/v1/messages", handler.HandleMessages)