mirror of
https://github.com/songquanpeng/one-api.git
synced 2026-04-22 09:54:25 +08:00
Merge 204f2ae0c6 into 7c8628bd95
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func SetRelayRouter(router *gin.Engine) {
|
||||
func SetRelayRouter(router *gin.RouterGroup) {
|
||||
router.Use(middleware.CORS())
|
||||
router.Use(middleware.GzipDecodeMiddleware())
|
||||
// https://platform.openai.com/docs/api-reference/introduction
|
||||
|
||||
Reference in New Issue
Block a user