Ubuntu

Delete server.js (replaced to app.js)

Showing 1 changed file with 0 additions and 15 deletions
1 -const express = require('express');
2 -const app = express();
3 -
4 -app.listen(8080, function(){
5 - console.log('listening on 8080');
6 -});
7 -
8 -app.get('/test', function(req, res){
9 - res.send('test');
10 -});
11 -
12 -app.get('/', function(req, res){
13 - res.sendFile(__dirname + '/main.html');
14 - res.sendFile(__dirname + '/main.css');
15 -});
...\ No newline at end of file ...\ No newline at end of file