Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 4c50066

Browse files
SQLite Viewer
1 parent 886ba29 commit 4c50066

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@
77
* */
88

99
const http = require("http");
10-
const port = process.env.PORT;
10+
//const port = process.env.PORT || 8080;
1111
const path = require("path");
12-
const { env } = require("process");
12+
const fs = require("fs");
1313

14+
15+
http.createServer(function(req, res){
16+
res.write("Hello Nodejs!");
17+
res.write(req.url);
18+
res.end();
19+
}).listen(8080);
20+
console.log("Server running on PORT 8080");

0 commit comments

Comments
 (0)