Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub committed Sep 26, 2024
1 parent bebfc37 commit 8880444
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions subdomains/subdomains.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ func (s *Subdomains) Add(name string, e *echo.Echo) *Subdomains {
Host: hosts[0],
Echo: e,
}
if strings.HasPrefix(info.Host, `/`) {
info.Host = ``
}
if len(info.Host) > 0 {
info2 := strings.SplitN(info.Host, `://`, 2)
if len(info2) == 2 {
Expand Down

0 comments on commit 8880444

Please sign in to comment.