Update index.js
Browse files
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) => {
|