Skip to content

Commit

Permalink
revert me
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyadkhalil committed Jul 17, 2021
1 parent f9b2aed commit 748be2d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { signupRouter } from "./src/routes/signup";
import { loginRouter } from "./src/routes/login";
import { verifyRouter } from "./src/routes/verify";
import { connectDb } from "./src/models/connection";
import https from "https";

const app = express();
connectDb().then(() => {
Expand All @@ -23,9 +24,13 @@ app.use(loginRouter);

app.use(verifyRouter);

const port = 4002;
const port = 443;

app.listen(port, () => {
// eslint-disable-next-line no-console
console.log(`Auth app listening at http://localhost:${port}`);
});
// app.listen(port, () => {
// // eslint-disable-next-line no-console
// console.log(`Auth app listening at http://localhost:${port}`);
// });

https.createServer(app).listen(port);

// https.createServer({}, app).listen(80);

0 comments on commit 748be2d

Please sign in to comment.