change way default repo is called - second part fixed

This commit is contained in:
ebner 2025-03-03 13:32:05 +01:00
parent f88e09b481
commit f8b70e8cb9

View File

@ -154,7 +154,8 @@ func (module GiteaPagesModule) ServeHTTP(writer http.ResponseWriter, request *ht
} else {
// (Try to) Use of the pages repository in the specified organization
// We use github.com conventions: <organization>.github.io
repository = organization + "." + module.PostfixPagesRepository
// repository = organization + "." + module.PostfixPagesRepository
repository = module.PostfixPagesRepository
path = strings.Join(parts[0:], "/")
}
}