admin-with-forms
Advanced tools
Comparing version
@@ -17,3 +17,3 @@ /*! | ||
permissions = require('./permissions'), | ||
paths = require('./http/register_paths'), | ||
paths = require('./web/register_paths'), | ||
forms = require('j-forms').forms; | ||
@@ -37,3 +37,3 @@ | ||
// if (options.port) { | ||
// var app = app || (app = require('http')); | ||
// var app = app || (app = require('web')); | ||
// | ||
@@ -57,3 +57,3 @@ // app.listen(options.port); | ||
app.use(require('express').static(__dirname + '/http/static')); | ||
app.use(require('express').static(__dirname + '/web/static')); | ||
@@ -103,3 +103,3 @@ MongooseAdmin.singleton = new MongooseAdmin(app, '/' + root); | ||
var currentViewsPath = MongooseAdmin.singleton.app.set('views'); | ||
this.app.set('views', __dirname + '/http/views'); | ||
this.app.set('views', __dirname + '/web/views'); | ||
return {'views': currentViewsPath}; | ||
@@ -106,0 +106,0 @@ }; |
{ | ||
"name": "admin-with-forms", | ||
"description": "admin for mongoose and not mongoose projects which uses forms", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"author": "Ishai Jaffe <ishai@empeeric.com>", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1233731
0.04%113
0.89%25149
0.07%1
Infinity%