Add EAB for ACME

This commit is contained in:
Moritz Marquardt 2021-11-20 15:37:36 +01:00
parent d1ed16c0f2
commit fcccd6435a
No known key found for this signature in database
GPG key ID: D5788327BEE388B6
3 changed files with 18 additions and 5 deletions

View file

@ -148,7 +148,7 @@ func handler(ctx *fasthttp.RequestCtx) {
targetOwner = pathElements[0]
targetRepo = pathElements[1]
// raw.codeberg.page/example/myrepo/@main/index.html
// raw.codeberg.org/example/myrepo/@main/index.html
if len(pathElements) > 2 && strings.HasPrefix(pathElements[2], "@") {
s.Step("raw domain preparations, now trying with specified branch")
if tryBranch(targetRepo, pathElements[2][1:], pathElements[3:],