userRouter.js 283 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 import express from "express"; import { finishGithubLogin, startGithubLogin } from "../controllers/globalController"; const userRouter = express.Router(); userRouter.get("/github/start",startGithubLogin) userRouter.get("/github/finish",finishGithubLogin) export default userRouter