mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
12 lines
259 B
CoffeeScript
12 lines
259 B
CoffeeScript
express = require("express")
|
|
app = express()
|
|
|
|
module.exports = MockDocUpdaterApi =
|
|
run: () ->
|
|
app.post "/project/:project_id/flush", (req, res, next) =>
|
|
res.sendStatus 200
|
|
|
|
app.listen 3003, (error) ->
|
|
throw error if error?
|
|
|
|
MockDocUpdaterApi.run()
|