mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
5861231548
- need to run migration 1 before using this for this to work - added acceptence test so new documents updated should be upserted, not return 404
7 lines
174 B
CoffeeScript
7 lines
174 B
CoffeeScript
Settings = require "settings-sharelatex"
|
|
mongojs = require "mongojs"
|
|
db = mongojs.connect(Settings.mongo.url, ["docs"])
|
|
module.exports =
|
|
db: db
|
|
ObjectId: mongojs.ObjectId
|
|
|