mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-25 19:26:09 +01:00
Remove unnecessary URLPrefix assignment
This commit is contained in:
parent
a057b7f582
commit
f42df16c9a
|
@ -55,7 +55,6 @@ func (re *Renderer) RenderMarkup(ctx *context.Base, repo *context.Repository) {
|
|||
case "file":
|
||||
// File as document based on file extension
|
||||
markupType = ""
|
||||
re.URLPrefix = repo.RepoLink
|
||||
relativePath = re.FilePath
|
||||
default:
|
||||
ctx.Error(http.StatusUnprocessableEntity, fmt.Sprintf("Unknown mode: %s", re.Mode))
|
||||
|
|
Loading…
Reference in a new issue