Spaces:
Build error
Build error
Download frontend/src/api.js from Sodagraph/YouTube_Transcript_Extraction: direct link, hf CLI and curl.
- Browser
- Download file 204 Bytes
-
https://huggingface.co/spaces/Sodagraph/YouTube_Transcript_Extraction/resolve/efb5a4eead53bc1302e8858e62de3046d6312900/frontend/src/api.js
- Command line
-
hf download hf://spaces/Sodagraph/YouTube_Transcript_Extraction@efb5a4eead53bc1302e8858e62de3046d6312900/frontend/src/api.js
-
curl -L -o api.js https://huggingface.co/spaces/Sodagraph/YouTube_Transcript_Extraction/resolve/efb5a4eead53bc1302e8858e62de3046d6312900/frontend/src/api.js
204 Bytes
| import axios from 'axios'; | |
| const apiClient = axios.create({ | |
| baseURL: process.env.VUE_APP_API_BASE_URL || '/api', | |
| headers: { | |
| 'Content-Type': 'application/json', | |
| } | |
| }); | |
| export default apiClient; | |