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

9 lines
181 B
CoffeeScript
Raw Normal View History

Settings = require "settings-sharelatex"
mongojs = require "mongojs"
2014-02-26 07:11:45 -05:00
db = mongojs.connect(Settings.mongo.url, ["docHistory"])
module.exports =
db: db
ObjectId: mongojs.ObjectId