Skip to content

Commit 5fc9c00

Browse files
committed
fix lint
1 parent 0d9d342 commit 5fc9c00

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

routers/common/repo.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ func ServeData(ctx *context.Context, filePath string, size int64, reader io.Read
107107
ctx.Resp.Header().Set("Content-Security-Policy", "default-src 'none'; style-src 'unsafe-inline'")
108108
}
109109

110-
111110
ctx.Resp.Header().Set("Content-Disposition", `inline; filename*=UTF-8''`+url.PathEscape(fileName))
112111
ctx.Resp.Header().Set("Access-Control-Expose-Headers", "Content-Disposition")
113112

0 commit comments

Comments
 (0)