randydev commited on
Commit
fc0349b
·
verified ·
1 Parent(s): 1aa6951

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -65,8 +65,8 @@ app.use(
65
 
66
  app.use(express.static('public'))
67
 
68
- app.get('/policy', (req, res) {
69
- res.sendFile('policy.html');
70
  });
71
 
72
  app.use(async (req, res, next) => {
 
65
 
66
  app.use(express.static('public'))
67
 
68
+ app.get('/policy', (req, res) => {
69
+ res.sendFile('public/policy.html');
70
  });
71
 
72
  app.use(async (req, res, next) => {