Skip to content

Instantly share code, notes, and snippets.

@saman-ghm
Last active October 21, 2019 20:25
Show Gist options
  • Save saman-ghm/062a209f754a436e44279c84655734be to your computer and use it in GitHub Desktop.
Save saman-ghm/062a209f754a436e44279c84655734be to your computer and use it in GitHub Desktop.
import { Router } from "express";
import AuthController from "../controllers/AuthController";
const router = Router();
router.post("/refreshToken", AuthController.refreshToken);
router.post("/login", AuthController.login);
export default router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment