nroggendorff commited on
Commit
a2f2ac0
1 Parent(s): 49b107b

Delete server.js

Browse files
Files changed (1) hide show
  1. server.js +0 -15
server.js DELETED
@@ -1,15 +0,0 @@
1
- const express = require('express');
2
- const path = require('path');
3
-
4
- const app = express();
5
- const port = 3000;
6
-
7
- app.use(express.static(path.join(__dirname, 'public')));
8
-
9
- app.get('/', (req, res) => {
10
- res.sendFile(path.join(__dirname, 'public', 'index.html'));
11
- });
12
-
13
- app.listen(port, () => {
14
- console.log(`Server running on http://localhost:${port}`);
15
- });