routers/web/repo/view.go aktualisiert

This commit is contained in:
davrot 2025-01-26 02:16:39 +00:00
parent 4b920ad4b4
commit fb33c30f6a

View file

@ -967,7 +967,6 @@ func prepareOpenWithEditorApps(ctx *context.Context) {
}
func renderHomeCode(ctx *context.Context) {
ctx.Data["PageIsViewCode"] = true
ctx.Data["RepositoryUploadEnabled"] = setting.Repository.Upload.Enabled
prepareOpenWithEditorApps(ctx)