overleaf/services/track-changes/app/coffee/mongojs.coffee
2015-08-24 10:38:31 -03:00

8 lines
226 B
CoffeeScript

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