Spaces:
Paused
Paused
Download routers/profileRouter.js from arabdullah/chatty: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/spaces/arabdullah/chatty/resolve/main/routers/profileRouter.js
- Command line
-
hf download hf://spaces/arabdullah/chatty/routers/profileRouter.js
-
curl -L -o profileRouter.js https://huggingface.co/spaces/arabdullah/chatty/resolve/main/routers/profileRouter.js
277 Bytes
| const express = require("express"); | |
| const profileController = require("../controllers/profileController"); | |
| const router = express.Router(); | |
| router | |
| .route("/") | |
| .get(profileController.getSelfProfile) | |
| .patch(profileController.updateSelfProfile); | |
| module.exports = router; | |