James Allen 12 лет назад
Родитель
Сommit
5ec1c59a31
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      services/web/config/settings.defaults.coffee

+ 4 - 2
services/web/config/settings.defaults.coffee

@@ -105,7 +105,7 @@ module.exports =
 
 	# Where your instance of ShareLaTeX can be found publically. Used in emails
 	# that are sent out, generated links, etc.
-	siteUrl : 'http://localhost:3000'
+	siteUrl : siteUrl = 'http://localhost:3000'
 
 	# cooke domain
 	# use full domain for cookies to only be accesabble from that domain,
@@ -144,7 +144,9 @@ module.exports =
 	# ------
 	# 
 	i18n:
-		defaultLng:"en-US"
+		subdomainLang:
+			www: {lngCode:"en", url: siteUrl}
+		defaultLng: "en"
 
 	# Spelling languages
 	# ------------------