diff options
author | Blaster4385 <[email protected]> | 2022-08-19 23:51:13 +0530 |
---|---|---|
committer | Blaster4385 <[email protected]> | 2022-08-19 23:51:13 +0530 |
commit | 856728cfae03da554d4db91b0635a53f1c9f915c (patch) | |
tree | 1ce1fa3561dc6935f4f3aab521773145cdd3f7ec /server/index.js | |
parent | 6c867e639e565262bbf71342f953456a7d0b7f7a (diff) |
DeShit the api
Diffstat (limited to 'server/index.js')
-rw-r--r-- | server/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/index.js b/server/index.js index 2ccd121..2a1bb1b 100644 --- a/server/index.js +++ b/server/index.js @@ -6,7 +6,7 @@ import dotenv from 'dotenv'; import userRoutes from './routes/users.js'; import healthRoutes from './routes/health.js'; -import otpRoutes from './routes/otp.js'; +import messageRoutes from './routes/message.js'; const app = Express(); dotenv.config(); @@ -17,7 +17,7 @@ app.use(cors()); app.use('/', healthRoutes); app.use('/', userRoutes); -app.use('/', otpRoutes); +app.use('/', messageRoutes); const CONNECTION_URL = process.env.CONNECTION_URL; const PORT = process.env.PORT; |