1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00

nothing important here

Former-commit-id: e6c4ade12d085cb8fa4989b15fa446b75ee114b2
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-07-15 09:58:05 +03:00
parent 2725267aa4
commit ccafe67c80
5 changed files with 20 additions and 13 deletions

View File

@@ -115,6 +115,7 @@ func formatCookieDomain(ctx context.Context, disableSubdomainPersistence bool) s
requestDomain = requestDomain[dotIdx+1:]
}
}
// finally set the .localhost.com (for(1-level) || .mysubdomain.localhost.com (for 2-level subdomain allow)
return "." + requestDomain // . to allow persistence
}