mirror of
/repos/Prototyper.git
synced 2026-02-27 16:12:00 +01:00
pass sharejs to importer
This commit is contained in:
@@ -316,7 +316,8 @@ module.exports = function (app, config) {
|
||||
}
|
||||
);
|
||||
|
||||
var importerInstance = importer(config, mongodataInstance);
|
||||
var importerInstance = importer(config, mongodataInstance, model);
|
||||
|
||||
app.get('/importer/:filename', function importFile(req, res, next) {
|
||||
var filename = path.resolve(config.public_path, req.params.filename);
|
||||
config.debug && console.log('/importer/:filename', filename);
|
||||
|
||||
Reference in New Issue
Block a user