Delete 'css/index.js'
This commit is contained in:
parent
03bb41927d
commit
a3e526012e
15
css/index.js
15
css/index.js
@ -1,15 +0,0 @@
|
||||
const express = require('express');
|
||||
const fs = require('fs');
|
||||
let app = express();
|
||||
app.use(express.static('.'));
|
||||
app.get('/', function(request, response){
|
||||
response.sendFile('index.html');
|
||||
});
|
||||
|
||||
app.get('/Sounds', function(request, response){
|
||||
const dir = fs.readdirSync('./Sounds');
|
||||
response.send(dir);
|
||||
//console.log(dir);
|
||||
});
|
||||
|
||||
app.listen(3000);
|
Loading…
Reference in New Issue
Block a user