overleaf/services/docstore/app/coffee/mongojs.coffee
2014-04-28 16:45:59 +01:00

7 lines
178 B
CoffeeScript

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