Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyadkhalil committed Jul 17, 2021
1 parent 8134611 commit 81c71c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ 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 @@ -27,10 +28,11 @@ app.use(verifyRouter);
const port = 443;

// app.listen(port, () => {
// // eslint-disable-next-line no-console
// // 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);

0 comments on commit 81c71c7

Please sign in to comment.