diff --git a/app.js b/app.js index f352bf7..ce6cc29 100644 --- a/app.js +++ b/app.js @@ -122,7 +122,7 @@ app.get('/request', async (req, res) => { if (!request) { return res.status(404).render('error/404'); } - res.render('req-status', { request }); + res.render('request', { request }); } catch (error) { console.error(error); res.status(500).render('error/500'); diff --git a/src/admin/dash.ejs b/src/admin/dash.ejs index 3ff7a32..f24fde8 100644 --- a/src/admin/dash.ejs +++ b/src/admin/dash.ejs @@ -1,6 +1,6 @@ -<%- include('shards/header', { title: 'Admin Dashboard - p0ntus mail' }) %> +<%- include('../shards/header', { title: 'Admin Dashboard - p0ntus mail' }) %>
- <%- include('shards/nav', { currentPage: 'admin' }) %> + <%- include('../shards/nav', { currentPage: 'admin' }) %> Dashboard
@@ -47,4 +47,4 @@
-<%- include('shards/footer') %> \ No newline at end of file +<%- include('../shards/footer') %> \ No newline at end of file diff --git a/src/admin/login.ejs b/src/admin/login.ejs index 16aa472..d023507 100644 --- a/src/admin/login.ejs +++ b/src/admin/login.ejs @@ -1,6 +1,6 @@ -<%- include('shards/header', { title: 'Admin - p0ntus mail' }) %> +<%- include('../shards/header', { title: 'Admin - p0ntus mail' }) %>
- <%- include('shards/nav', { currentPage: 'admin' }) %> + <%- include('../shards/nav', { currentPage: 'admin' }) %> Login to administration panel
<% if (error) { %> @@ -18,4 +18,4 @@
-<%- include('shards/footer') %> \ No newline at end of file +<%- include('../shards/footer') %> \ No newline at end of file