This commit is contained in:
Sakurasan
2023-03-31 19:55:20 +08:00
parent 10d69263c9
commit cf023aadc1
2 changed files with 39 additions and 3 deletions

View File

@@ -41,9 +41,9 @@ func main() {
// 初始化用户
r.POST("/1/users/init", router.Handleinit)
r.POST("/v1/chat/completions", router.HandleProy)
r.GET("/v1/models", router.HandleProy)
r.GET("/v1/dashboard/billing/credit_grants", router.HandleProy)
r.POST("/v1/chat/completions", router.HandleReverseProxy)
r.GET("/v1/models", router.HandleReverseProxy)
r.GET("/v1/dashboard/billing/credit_grants", router.HandleReverseProxy)
r.Run(":80")
}