mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 01:44:24 +01:00
Remove unnecessary URLPrefix assignment
This commit is contained in:
parent
3086165b7f
commit
803eb8c246
|
@ -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