From 82d37c5c35d5888dca9d6a07040a39cf30b0b801 Mon Sep 17 00:00:00 2001 From: Makis Maropoulos Date: Thu, 30 Jun 2016 23:19:06 +0300 Subject: [PATCH] Remove unnecessary output --- .gitignore | 4 +++- sessions/manager.go | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) 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 }