add proxy

This commit is contained in:
微凉
2021-09-04 19:52:56 +08:00
parent eefe53ff01
commit b51b4e083d
7 changed files with 107 additions and 7 deletions

View File

@ -34,5 +34,6 @@ func InitApiRouter(engine *gin.Engine) {
apiV2.POST("/video_preview/:drive", controllers.VideoPreview)
apiV2.POST("/video_preview_play_info/:drive", controllers.VideoPreviewPlayInfo)
engine.GET("/d/*path", controllers.Down)
engine.GET("/p/*path",controllers.Proxy)
}
}