overleaf/services/track-changes/app/coffee/mongojs.coffee
2014-02-26 12:11:45 +00:00

8 lines
181 B
CoffeeScript

Settings = require "settings-sharelatex"
mongojs = require "mongojs"
db = mongojs.connect(Settings.mongo.url, ["docHistory"])
module.exports =
db: db
ObjectId: mongojs.ObjectId