mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Remove unnecessary output
This commit is contained in:
parent
a5db711207
commit
82d37c5c35
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -23,3 +23,5 @@ _examples/*.so
|
||||||
build.bat
|
build.bat
|
||||||
tools/*
|
tools/*
|
||||||
docs/*
|
docs/*
|
||||||
|
/test/*
|
||||||
|
/vendor/*
|
|
@ -122,7 +122,6 @@ func (m *Manager) Start(ctx context.IContext) store.IStore {
|
||||||
requestDomain = strings.Replace(requestDomain, requestDomain[0:subdomainSuff], s, 1) // set to localhost.com || mysubdomain.localhost.com
|
requestDomain = strings.Replace(requestDomain, requestDomain[0:subdomainSuff], s, 1) // set to localhost.com || mysubdomain.localhost.com
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
println(requestDomain)
|
|
||||||
// finally set the .localhost.com (for(1-level) || .mysubdomain.localhost.com (for 2-level subdomain allow)
|
// finally set the .localhost.com (for(1-level) || .mysubdomain.localhost.com (for 2-level subdomain allow)
|
||||||
cookie.SetDomain("." + requestDomain) // . to allow persistance
|
cookie.SetDomain("." + requestDomain) // . to allow persistance
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user