diff options
author | rohan09-raj <[email protected]> | 2022-08-19 00:10:29 +0530 |
---|---|---|
committer | rohan09-raj <[email protected]> | 2022-08-19 00:10:42 +0530 |
commit | 953dd3c954411d92811415cc9be4a7c7d76ab185 (patch) | |
tree | 0bd2aa118361bbe70f0ac0b62da3c12fa1cb902f /server/index.js | |
parent | a9ed2c9daa5a3e065401996daf922f59de7f0101 (diff) |
added otp support
Diffstat (limited to 'server/index.js')
-rw-r--r-- | server/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/index.js b/server/index.js index 0d058ae..2ccd121 100644 --- a/server/index.js +++ b/server/index.js @@ -6,6 +6,7 @@ import dotenv from 'dotenv'; import userRoutes from './routes/users.js'; import healthRoutes from './routes/health.js'; +import otpRoutes from './routes/otp.js'; const app = Express(); dotenv.config(); @@ -16,6 +17,7 @@ app.use(cors()); app.use('/', healthRoutes); app.use('/', userRoutes); +app.use('/', otpRoutes); const CONNECTION_URL = process.env.CONNECTION_URL; const PORT = process.env.PORT; |