This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request '#634 代码仓页面点击下载后,页面显示的下载量不会增加' (
#635
) from zouap into V20211101
Reviewed-on:
https://git.openi.org.cn/OpenI/aiforge/pulls/635
Reviewed-by: lewis <747342561@qq.com>
tags/v1.21.11.1
lewis
4 years ago
parent
420370b8c5
de46909010
commit
dfd2790d7f
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
routers/repo/repo.go
+ 2
- 0
routers/repo/repo.go
View File
@@ -531,6 +531,8 @@ func Download(ctx *context.Context) {
}
}
}
}
ctx.Repo.Repository.IncreaseCloneCnt()
ctx.ServeFile(archivePath, ctx.Repo.Repository.Name+"-"+refName+ext)
ctx.ServeFile(archivePath, ctx.Repo.Repository.Name+"-"+refName+ext)
}
}
Write
Preview
Loading…
Cancel
Save