overleaf/services/track-changes/app/coffee/mongojs.coffee

9 lines
234 B
CoffeeScript
Raw Normal View History

Settings = require "settings-sharelatex"
mongojs = require "mongojs"
2015-08-06 10:11:43 -04:00
db = mongojs.connect(Settings.mongo.url, ["docHistory", "projectHistoryMetaData", "docHistoryStats", "docs"])
module.exports =
db: db
ObjectId: mongojs.ObjectId