diff options
| author | Ritesh Ghosh <[email protected]> | 2023-08-13 19:27:35 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-08-13 19:27:35 +0530 |
| commit | f0f28d170065bce5b8f9d55b94c70ae730c8e046 (patch) | |
| tree | cf5c9df31ba3690905bbf68bb2f5a07ae86ec051 /src | |
| parent | 5f6fe546ef3f2b151d13348592319c33aa5f22bb (diff) | |
| download | aniwatch-api-f0f28d170065bce5b8f9d55b94c70ae730c8e046.tar.xz aniwatch-api-f0f28d170065bce5b8f9d55b94c70ae730c8e046.zip | |
refactor: removed home controller
Diffstat (limited to 'src')
| -rw-r--r-- | src/controllers/home.controller.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/controllers/home.controller.ts b/src/controllers/home.controller.ts deleted file mode 100644 index fb63ae1..0000000 --- a/src/controllers/home.controller.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { resolve } from "path"; -import { RequestHandler } from "express"; - -const homePage: RequestHandler = (req, res) => { - res.sendFile(resolve(__dirname, "..", "..", "public/index.html")); -}; - -export default homePage; |
