notherbase-fs 1.1.15 → 1.1.19

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.
@@ -46,7 +46,7 @@ let front = function front(detail) {
46
46
  if (!hasKey) res.redirect(detail.options.dropOff);
47
47
  else res.render(`explorer`,
48
48
  {
49
- siteTitle: "NotherBase",
49
+ siteTitle: "NotherBase | The Front",
50
50
  user: req.session.currentUserFull,
51
51
  styles: detail.options.styles,
52
52
  externalStyles: detail.options.externalStyles,
@@ -57,7 +57,7 @@ let front = function front(detail) {
57
57
  }
58
58
  else res.render(`explorer`,
59
59
  {
60
- siteTitle: "NotherBase",
60
+ siteTitle: "NotherBase | The Front",
61
61
  user: req.session.currentUserFull,
62
62
  styles: detail.options.styles,
63
63
  externalStyles: detail.options.externalStyles,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notherbase-fs",
3
- "version": "1.1.15",
3
+ "version": "1.1.19",
4
4
  "description": "Functions to help make developing for NotherBase easier.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server.js CHANGED
@@ -6,6 +6,7 @@ module.exports = function start(frontRouter, exploreRouter) {
6
6
  const express = require("express");
7
7
  const app = express();
8
8
  app.set("view engine", "ejs");
9
+ app.set("views", `${__dirname}/views`);
9
10
 
10
11
  //setup for sockets
11
12
  const http = require('http');
@@ -12,9 +12,9 @@
12
12
  <main class="override">
13
13
  <%- include(`${main}.ejs`); %>
14
14
 
15
- <%- include(process.cwd() + "/views/inventory.ejs"); %>
15
+ <%- include("./inventory.ejs"); %>
16
16
 
17
- <%- include(process.cwd() + "/views/contact.ejs"); %>
17
+ <%- include("./contact.ejs"); %>
18
18
  </main>
19
19
 
20
20
  <script>