mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 16:12:10 +00:00
9a7c8c5842
This reverts commit ab6b4c32254a20b940c489b8b5b56237433cc0f6.
6 lines
191 B
CoffeeScript
6 lines
191 B
CoffeeScript
Settings = require "settings-sharelatex"
|
|
mongojs = require "mongojs"
|
|
db = mongojs(Settings.mongo.url, ["projects", "users", "userstubs"])
|
|
module.exports =
|
|
db: db
|
|
ObjectId: mongojs.ObjectId
|