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,