Forráskód Böngészése

Update settings.development.coffee.example

James Allen 11 éve
szülő
commit
8d3a57bd4b
1 módosított fájl, 8 hozzáadás és 0 törlés
  1. 8 0
      config/settings.development.coffee.example

+ 8 - 0
config/settings.development.coffee.example

@@ -93,6 +93,14 @@ module.exports =
 	# when emails are sent out and in generated links:
 	siteUrl : 'http://localhost:3000'
 	
+	# The websocket layer of ShareLaTeX runs as separate service.
+	# When running locally or in development, you can point the client to this
+	# service directly on port 3026. If you are running behind a reverse proxy (Nginx, etc)
+	# then websocketsUrl should be the same as siteUrl, with your reverse
+	# proxy responible for sending websocket traffic to the websocket service
+	# rather than connecting directly.
+	websocketsUrl: 'http://localhost:3026'
+	
 	# If provided, a sessionSecret is used to sign cookies so that they cannot be
 	# spoofed. This is recommended.
 	security: