mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
Add EAB for ACME
This commit is contained in:
parent
d1ed16c0f2
commit
fcccd6435a
3 changed files with 18 additions and 5 deletions
|
@ -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:],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue