cookies work accross different subdomains, added translations middlewear into stack to render based on domain

This commit is contained in:
Henry Oswald
2014-08-04 16:47:14 +01:00
parent 1e0652888a
commit 2be22d7ca7
2 changed files with 8 additions and 2 deletions
@@ -107,6 +107,11 @@ module.exports =
# that are sent out, generated links, etc.
siteUrl : 'http://localhost:3000'
# cooke domain
# use full domain for cookies to only be accesabble from that domain,
# replace subdomain with dot to have them accessable on all subdomains
# cookieDomain: ".sharelatex.dev"
# Same, but with http auth credentials.
httpAuthSiteUrl: 'http://#{httpAuthUser}:#{httpAuthPass}@localhost:3000'