mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 04:21:10 +00:00
11 lines
342 B
CoffeeScript
11 lines
342 B
CoffeeScript
logger = require 'logger-sharelatex'
|
|
settings = require 'settings-sharelatex'
|
|
|
|
Server = require "./app/js/server"
|
|
|
|
port = settings.internal?.chat?.port or 3010
|
|
host = settings.internal?.chat?.host or "localhost"
|
|
|
|
Server.server.listen port, host, (error) ->
|
|
throw error if error?
|
|
logger.info "Chat starting up, listening on #{host}:#{port}"
|