@misterzik/espressojs 3.1.14 → 3.1.15

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![Espresso](https://raw.githubusercontent.com/misterzik/Espresso.js/main/espresso-logo.png)
1
+ ![Espresso](https://raw.githubusercontent.com/misterzik/Espresso.js/main/espresso.png)
2
2
 
3
3
  ## EspressoJS / Espresso
4
4
 
File without changes
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@misterzik/espressojs",
3
- "version": "3.1.14",
4
- "description": "EspressoJS / Espresso It's your one-stop Express Configuration Boiler-Plate, plug-and-play configuration to get you started with hosting your front-end projects. This is a barebones configuration with the option to scale up using MongoDB.",
3
+ "version": "3.1.15",
4
+ "description": "EspressoJS / Espresso is your one-stop Express Configuration starting point or boilerplate. Simple, and unopinionated, EspressoJS plug-and-play configurations are based on Express. Espresso will get you started with an Express instance in seconds.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\"",
package/routes/index.js CHANGED
@@ -11,18 +11,13 @@ module.exports = (app) => {
11
11
  const configuration = require("../server"),
12
12
  Path = require("path"),
13
13
  api = require("./api");
14
-
15
14
  app.get("/", function (res) {
16
15
  res.sendFile("index.html", { root: Path.join("./public") });
17
16
  });
18
-
19
17
  if (configuration.swapi_isEnabled == true) {
20
18
  app.use("/api", api);
21
19
  }
22
-
23
20
  require("./db")(app);
24
- require("../server/utils/global.message")(app);
25
-
26
21
  app.use(function (req, res, next) {
27
22
  res.status(404).send("404 - Sorry can't find that!");
28
23
  });