Use - in site branch string

This commit is contained in:
Melon 2023-12-05 23:10:26 +00:00
parent 720e413336
commit 357fb32264
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -20,7 +20,7 @@ func TestName(t *testing.T) {
}), }),
} }
h.findSiteBranchSubdomain("example-com-test") h.findSiteBranchSubdomain("example-com-test")
site, branch := h.findSiteBranch("example_com_test") site, branch := h.findSiteBranch("example-com_test")
} }
func TestHandler_Handle(t *testing.T) { func TestHandler_Handle(t *testing.T) {