diff --git a/zero.Debug/appsettings.Development.json b/zero.Debug/appsettings.Development.json index 1cbc9039..91818a4b 100644 --- a/zero.Debug/appsettings.Development.json +++ b/zero.Debug/appsettings.Development.json @@ -2,7 +2,7 @@ "Zero": { "Raven": { "Url": "http://127.0.0.1:9800", - "Database": "laolamigration" + "Database": "zero" } }, "Logging": { diff --git a/zero.Web.UI/App/zero.plugins.js b/zero.Web.UI/App/zero.plugins.js index 229013a4..7dcf5309 100644 --- a/zero.Web.UI/App/zero.plugins.js +++ b/zero.Web.UI/App/zero.plugins.js @@ -13,16 +13,16 @@ plugins.keys().forEach(path => zero.plugins.push(definition); }); -plugins = require.context('@/../zero.Debug', true, /plugin\.js$/); // TODO dynPATH +//plugins = require.context('@/../zero.Debug', true, /plugin\.js$/); // TODO dynPATH -plugins.keys().forEach(path => -{ - const routesDefinition = plugins(path); - const definition = routesDefinition.default || routesDefinition; +//plugins.keys().forEach(path => +//{ +// const routesDefinition = plugins(path); +// const definition = routesDefinition.default || routesDefinition; - definition.name = 'project'; // TODO - zero.plugins.push(definition); -}); +// definition.name = 'project'; // TODO +// zero.plugins.push(definition); +//}); // run setup action directly diff --git a/zero.Web/Views/Shared/Index.cshtml b/zero.Web/Views/Shared/Index.cshtml index 7b7f9492..a949d1a1 100644 --- a/zero.Web/Views/Shared/Index.cshtml +++ b/zero.Web/Views/Shared/Index.cshtml @@ -16,7 +16,7 @@