overleaf/services/contacts/app/coffee/mongojs.coffee

8 lines
178 B
CoffeeScript
Raw Normal View History

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