Download frontend/src/api/client.js from Seth0330/keeai: direct link, hf CLI and curl.
- Browser
- Download file 198 Bytes
-
https://huggingface.co/spaces/Seth0330/keeai/resolve/main/frontend/src/api/client.js
- Command line
-
hf download hf://spaces/Seth0330/keeai/frontend/src/api/client.js
-
curl -L -o client.js https://huggingface.co/spaces/Seth0330/keeai/resolve/main/frontend/src/api/client.js
198 Bytes
| import axios from "axios"; | |
| const api = axios.create({ | |
| baseURL: "/api", // same domain, backend mounted under /api | |
| headers: { | |
| "Content-Type": "application/json" | |
| } | |
| }); | |
| export default api; | |