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

9 lines
191 B
CoffeeScript
Raw Normal View History

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