Fix/cookie host (#76)
* fix: cookie host * feat: add test for url utils * fix: url test * fix: multi domain cookie if allowed
This commit is contained in:
@@ -17,7 +17,7 @@ func GetHostName(auth_url string) string {
|
||||
return host
|
||||
}
|
||||
|
||||
// function to get domain name
|
||||
// GetDomainName function to get domain name
|
||||
func GetDomainName(auth_url string) string {
|
||||
u, err := url.Parse(auth_url)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user