fix: implement provider test endpoint and fix static asset routing
Added handleTestProvider to dashboard and verified static file mapping for /css, /js, and /img.
This commit is contained in:
@@ -118,6 +118,7 @@ func (s *Server) setupRoutes() {
|
||||
|
||||
admin.GET("/providers", s.handleGetProviders)
|
||||
admin.PUT("/providers/:name", s.handleUpdateProvider)
|
||||
admin.POST("/providers/:name/test", s.handleTestProvider)
|
||||
admin.GET("/models", s.handleGetModels)
|
||||
|
||||
admin.GET("/users", s.handleGetUsers)
|
||||
|
||||
Reference in New Issue
Block a user