fast72 commited on
Commit
9d55072
·
verified ·
1 Parent(s): 0262fcb

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -1
app.js CHANGED
@@ -4,7 +4,7 @@ const fs = require('fs');
4
  const app = express();
5
  const PORT = 3000;
6
 
7
- app.use(express.static(path.join(__dirname, 'public')));
8
 
9
  function getFiles(directoryPath) {
10
  let results = [];
 
4
  const app = express();
5
  const PORT = 3000;
6
 
7
+ app.use('/', express.static(path.join(__dirname, 'public')));
8
 
9
  function getFiles(directoryPath) {
10
  let results = [];