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

Commit 530bf40

Browse files
update
1 parent 8ccf8b0 commit 530bf40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

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

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

@@ -16,5 +16,5 @@ http.createServer(function(req, res){
1616
res.writeHead(200,{'Content-Type':'text/html'});
1717
res.write("<h2>Welcome to SQLite Viewer!</h2>");
1818
res.end();
19-
}).listen(8080);
20-
console.log("Server running on PORT 8080");
19+
}).listen(port);
20+
console.log(`Server running on ${port}`);

0 commit comments

Comments
 (0)