Spaces:
Paused
Paused
Download routers/authRouter.js from arabdullah/chatty: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/arabdullah/chatty/resolve/main/routers/authRouter.js
- Command line
-
hf download hf://spaces/arabdullah/chatty/routers/authRouter.js
-
curl -L -o authRouter.js https://huggingface.co/spaces/arabdullah/chatty/resolve/main/routers/authRouter.js
270 Bytes
| const express = require("express"); | |
| const authController = require("../controllers/authController"); | |
| const router = express.Router(); | |
| router.route("/login").post(authController.login); | |
| router.route("/register").post(authController.register); | |
| module.exports = router; | |