Spaces:
Sleeping
Sleeping
Create server.js
Browse files
server.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const express = require("express");
|
| 2 |
+
const path = require("path");
|
| 3 |
+
|
| 4 |
+
const app = express();
|
| 5 |
+
|
| 6 |
+
app.use(express.static(__dirname));
|
| 7 |
+
|
| 8 |
+
app.listen(7860, () => {
|
| 9 |
+
console.log("Server running on port 7860");
|
| 10 |
+
});
|