diff --git a/.gitignore b/.gitignore index ea1f6555..849c0095 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,6 @@ _examples/*.so *.so build.bat tools/* -docs/* \ No newline at end of file +docs/* +/test/* +/vendor/* \ No newline at end of file diff --git a/sessions/manager.go b/sessions/manager.go index 9f0998de..d6cb8f72 100644 --- a/sessions/manager.go +++ b/sessions/manager.go @@ -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 } } - println(requestDomain) // finally set the .localhost.com (for(1-level) || .mysubdomain.localhost.com (for 2-level subdomain allow) cookie.SetDomain("." + requestDomain) // . to allow persistance }