From 161739e35ddff98b8e54da580af6e736df58f0e3 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 11 Feb 2023 03:51:56 +0100 Subject: [PATCH] rm unrelated remove --- server/handler/handler_sub_domain.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/handler/handler_sub_domain.go b/server/handler/handler_sub_domain.go index e3b1933..b3e91e1 100644 --- a/server/handler/handler_sub_domain.go +++ b/server/handler/handler_sub_domain.go @@ -117,6 +117,8 @@ func handleSubDomain(log zerolog.Logger, ctx *context.Context, giteaClient *gite } } + // Try to use the defaultPagesRepo on its default branch + // example.codeberg.page/index.html log.Debug().Msg("main domain preparations, now trying with default repo/branch") if targetOpt, works := tryBranch(log, ctx, giteaClient, &upstream.Options{ TryIndexPages: true,