mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-26 19:11:08 +01:00
API server now protected with rate limiter, fixed extra dot on URL on frontend
This commit is contained in:
@@ -89,7 +89,7 @@ func HomepageConfig() homepage.Config {
|
||||
|
||||
if item.URL == "" {
|
||||
if len(domains) > 0 {
|
||||
item.URL = fmt.Sprintf("%s://%s.%s:%s", proto, strings.ToLower(alias), domains[0], port)
|
||||
item.URL = fmt.Sprintf("%s://%s%s:%s", proto, strings.ToLower(alias), domains[0], port)
|
||||
}
|
||||
}
|
||||
item.AltURL = r.TargetURL().String()
|
||||
|
||||
Reference in New Issue
Block a user