We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af0d526 + 2e924d9 commit 7167782Copy full SHA for 7167782
crawlsite.js
@@ -29,6 +29,10 @@
29
* Then open the visualizer in a browser:
30
* http://localhost:8080/html/d3tree.html
31
* http://localhost:8080/html/d3tree.html?url=../output/https___yourspa.com/crawl.json
32
+ *
33
+ *Start Server:
34
+ * node server.js
35
36
*/
37
38
const fs = require('fs');
package.json
@@ -17,6 +17,7 @@
17
"chrome-launcher": "^0.10.2",
18
"cli-table": "^0.3.1",
19
"del": "^3.0.0",
20
+ "express": "^4.16.3",
21
"lighthouse": "^2.9.4",
22
"mime": "^2.3.1",
23
"node-fetch": "^2.1.2",
server.js
@@ -0,0 +1,6 @@
1
+const express = require('express');
2
+const app = express();
3
+
4
+app.use(express.static('.'));
5
6
+app.listen(8080);
0 commit comments