1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00
forgejo/services
zeripath e51c73ae5c
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>
2021-08-01 19:04:32 +02:00
..
agit Add agit flow support in gitea (#14295) 2021-07-28 17:42:56 +08:00
archiver Rework repository archive (#14723) 2021-06-23 17:12:38 -04:00
auth Lock goth/gothic and Re-attempt OAuth2 registration on login if registration failed at startup (#16564) 2021-07-29 18:53:18 +01:00
comments Enhance Ghost comment mitigation Settings (#14392) 2021-01-21 21:56:19 -05:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
forms Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
gitdiff Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
issue Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
lfs Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00
mailer Use TrN helper for email templates (#16425) 2021-07-14 15:06:09 +02:00
mirror Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
pull Add agit flow support in gitea (#14295) 2021-07-28 17:42:56 +08:00
release Add tag protection (#15629) 2021-06-25 16:28:55 +02:00
repository Implemented head_commit for webhooks (#16282) 2021-06-29 15:34:03 +02:00
webhook Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
wiki Fix 500 on first wiki page (#16586) 2021-08-01 19:04:32 +02:00