公开代理

This commit is contained in:
Sakurasan
2023-03-31 16:59:25 +08:00
parent 074a8e4267
commit 8c75f9575b
2 changed files with 8 additions and 7 deletions

View File

@@ -41,7 +41,8 @@ func main() {
// 初始化用户
r.POST("/1/users/init", router.Handleinit)
r.POST("/v1/chat/completions", router.HandleProy)
r.Any("/v1/chat/completions", router.HandleProy)
r.Any("/", router.HandleProy)
r.Run(":80")
}