From c9e11a564698dc76d3fa04ec5f8e82c17cff3249 Mon Sep 17 00:00:00 2001 From: Saad Jutt Date: Thu, 14 Oct 2021 18:54:11 +0500 Subject: [PATCH] chore: removed public htmls --- public/401.html | 3 --- public/404.html | 1 - public/500.html | 1 - src/app.ts | 4 ---- 4 files changed, 9 deletions(-) delete mode 100644 public/401.html delete mode 100644 public/404.html delete mode 100644 public/500.html diff --git a/public/401.html b/public/401.html deleted file mode 100644 index 8e8ed00..0000000 --- a/public/401.html +++ /dev/null @@ -1,3 +0,0 @@ -Unauthorized - -Sign-in diff --git a/public/404.html b/public/404.html deleted file mode 100644 index e28f5c5..0000000 --- a/public/404.html +++ /dev/null @@ -1 +0,0 @@ -Page Not Found \ No newline at end of file diff --git a/public/500.html b/public/500.html deleted file mode 100644 index 7db31c7..0000000 --- a/public/500.html +++ /dev/null @@ -1 +0,0 @@ -Server Error \ No newline at end of file diff --git a/src/app.ts b/src/app.ts index d47b681..32f15b0 100644 --- a/src/app.ts +++ b/src/app.ts @@ -58,8 +58,4 @@ app.get(Routes.Login, (req, res) => { app.use(passportMiddleware()) -app.get('/error', (req, res) => res.redirect('/500.html')) -app.get('/unauthorized', (req, res) => res.redirect('/401.html')) -// app.get('*', (req, res) => res.status(404).redirect('/404.html')) - export default app