mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
No need to bind to 0.0.0.0 when running in same container
This commit is contained in:
parent
054964dd85
commit
3e90103d9c
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ module.exports = MockDocUpdaterApi =
|
|||
app.post "/project/:project_id/flush", (req, res, next) =>
|
||||
res.sendStatus 200
|
||||
|
||||
app.listen 3003, '0.0.0.0', (error) ->
|
||||
app.listen 3003, (error) ->
|
||||
throw error if error?
|
||||
.on "error", (error) ->
|
||||
console.error "error starting MockDocUpdaterApi:", error.message
|
||||
|
|
|
@ -22,7 +22,7 @@ module.exports = MockDocStoreApi =
|
|||
docs = (doc for doc_id, doc of @docs[req.params.project_id])
|
||||
res.send JSON.stringify docs
|
||||
|
||||
app.listen 3016, '0.0.0.0', (error) ->
|
||||
app.listen 3016, (error) ->
|
||||
throw error if error?
|
||||
.on "error", (error) ->
|
||||
console.error "error starting MockDocStoreApi:", error.message
|
||||
|
|
Loading…
Reference in a new issue