Skip to content

Commit

Permalink
reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyadkhalil committed Jul 17, 2021
1 parent 81c71c7 commit c4b472b
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ 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";
import http from "http";

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

app.use(verifyRouter);

const port = 443;
const port = 4002;

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

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

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

0 comments on commit c4b472b

Please sign in to comment.