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

Commit 8ccf8b0

Browse files
SQLite Viewer
1 parent 4c50066 commit 8ccf8b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const fs = require("fs");
1313

1414

1515
http.createServer(function(req, res){
16-
res.write("Hello Nodejs!");
17-
res.write(req.url);
16+
res.writeHead(200,{'Content-Type':'text/html'});
17+
res.write("<h2>Welcome to SQLite Viewer!</h2>");
1818
res.end();
1919
}).listen(8080);
2020
console.log("Server running on PORT 8080");

0 commit comments

Comments
 (0)