screencastgen

API Client

Axios base instance for all API calls.

Source: web/frontend/src/api/client.ts


Configuration

const client = axios.create({
  baseURL: "/api",
  headers: { "Content-Type": "application/json" }
})

The /api prefix is proxied by Vite to the backend (port 8000) during development.


Consumers


See Also