mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 08:49:33 +08:00
移除静态文件支持:删除静态资源目录相关代码和 Dockerfile 配置
This commit is contained in:
@@ -34,9 +34,6 @@ func SetupRouter(webFS embed.FS) *gin.Engine {
|
||||
// Swagger
|
||||
r.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))
|
||||
|
||||
// 静态文件
|
||||
r.Static("/static", "./static")
|
||||
|
||||
api := r.Group("/api/v1")
|
||||
{
|
||||
// 公共接口
|
||||
|
||||
Reference in New Issue
Block a user