server-up-ndot 1.2.0 → 1.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "server-up-ndot",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "server toolkit",
5
5
  "main": "index.js",
6
6
  "bin": {
package/readme.md CHANGED
@@ -25,6 +25,9 @@ npx server-up-ndot create myserver
25
25
 
26
26
  ## Patch Notes
27
27
 
28
+ ### 1.2.1
29
+ - new folder "public"
30
+
28
31
  ### 1.2.0
29
32
  - This is now official release!
30
33
  - bug patch
@@ -1,3 +1,3 @@
1
1
  PORT=3000
2
2
  MSG_ROOT="hello,npx server toolkit!"
3
- HTML_FILE="nonehtml.html"
3
+ HTML_FILE="./public/nonehtml.html"
@@ -7,7 +7,7 @@ require('dotenv').config();
7
7
  const app = express();
8
8
  const startPort = process.env.PORT || 3000;
9
9
  const msg = process.env.MSG_ROOT || "segfaultandsegmentationfault";
10
- const html = process.env.HTML_FILE || "nonehtml.html"
10
+ const html = process.env.HTML_FILE || "./public/nonehtml.html"
11
11
  app.use(cors());
12
12
  app.use(express.json());
13
13
 
File without changes