notherbase-fs 1.1.27 → 1.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/controllers/explorer.js
CHANGED
|
@@ -53,7 +53,7 @@ let complete = function complete(explorerBuild) {
|
|
|
53
53
|
if (detail.name !== "") detail.options.main = detail.name;
|
|
54
54
|
detail.options.main = `${currentDir}/views/${detail.options.main}`;
|
|
55
55
|
|
|
56
|
-
router.get(
|
|
56
|
+
router.get(`/${currentRegion}/${currentArea}/${currentPoi}/${detail.name}`, async function(req, res) {
|
|
57
57
|
try {
|
|
58
58
|
const foundInventory = await inventory.findOne({ user: req.session.currentUser }).populate("items.item");
|
|
59
59
|
|
|
@@ -106,7 +106,11 @@ let complete = function complete(explorerBuild) {
|
|
|
106
106
|
res.render(`explorer`,
|
|
107
107
|
{
|
|
108
108
|
siteTitle: "NotherBase | The Void",
|
|
109
|
-
|
|
109
|
+
user: null,
|
|
110
|
+
styles: [`${dir}/${explorerBuild.void}/styles/void`],
|
|
111
|
+
externalStyles: [],
|
|
112
|
+
scripts: [],
|
|
113
|
+
inventory: null,
|
|
110
114
|
main: `${dir}/${explorerBuild.void}/index`
|
|
111
115
|
});
|
|
112
116
|
});
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nono
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
void
|
|
File without changes
|