diff options
author | zeripath <art27@cantab.net> | 2021-08-01 18:04:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 19:04:32 +0200 |
commit | e51c73ae5c03c83256d48cdcd0ca9cbdbf7a5222 (patch) | |
tree | 1e6f6cfc023da95a1c7fb28cae8ebf785ec7f352 /routers/init.go | |
parent | d686d7b05231ee43d6901317208c1dd851dacfa9 (diff) | |
download | gitea-e51c73ae5c03c83256d48cdcd0ca9cbdbf7a5222.tar.gz gitea-e51c73ae5c03c83256d48cdcd0ca9cbdbf7a5222.zip |
Fix 500 on first wiki page (#16586)
* Fix 500 on first wiki page
There is a mistake in #16319 and #16487 which means that the first time
a wiki page is created a 500 is reported because the `master` branch is
not in existence in that wiki yet.
This PR simply checks for this error and returns not found.
Fix #16584
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'routers/init.go')
0 files changed, 0 insertions, 0 deletions