support fetch models
This commit is contained in:
1 parent
d426781e47
commit
470e49b850
3 files changed
+63
-1
No files matched your search
+1
-1
@@ -124,7 +124,7 @@ func SetRouter(cfg *config.Config, db *gorm.DB, web *embed.FS) {
|
||||
{
|
||||
// v1.POST("/v2/*proxypath", router.HandleProxy)
|
||||
v1.POST("/*proxypath", proxy.HandleProxy)
|
||||
// v1.GET("/models", dashboard.HandleModels)
|
||||
v1.GET("/models", proxy.HandleModels)
|
||||
}
|
||||
|
||||
idxFS, err := fs.Sub(web, "dist")
|
||||
|
||||
Reference in new issue
Block a user