rename gitea to forge in html error messages (#287)

closes #286

Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/287
Reviewed-by: Andreas Shimokawa <ashimokawa@noreply.codeberg.org>
Co-authored-by: crapStone <crapstone01@gmail.com>
Co-committed-by: crapStone <crapstone01@gmail.com>
This commit is contained in:
crapStone 2024-02-11 12:43:25 +00:00 committed by crapStone
parent a09bee68ad
commit c1fbe861fe
4 changed files with 7 additions and 7 deletions

View file

@ -41,7 +41,7 @@ func tryUpstream(ctx *context.Context, giteaClient *gitea.Client,
// Try to request the file from the Gitea API
if !options.Upstream(ctx, giteaClient, redirectsCache) {
html.ReturnErrorPage(ctx, "gitea client failed", ctx.StatusCode)
html.ReturnErrorPage(ctx, "forge client failed", ctx.StatusCode)
}
}