Skip to content

Commit

Permalink
add: 测速需要验证 Session
Browse files Browse the repository at this point in the history
  • Loading branch information
samlm0 committed Jan 12, 2024
1 parent bae3734 commit 7c0a204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/als/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func SetupHttpRoute(e *gin.Engine) {
}
}

speedtestRoute := session.Group("/speedtest")
speedtestRoute := session.Group("/speedtest", controller.MiddlewareSessionOnUrl())
{
if config.Config.FeatureFileSpeedtest {
speedtestRoute.GET("/file/:filename", speedtest.HandleFakeFile)
Expand Down

0 comments on commit 7c0a204

Please sign in to comment.