Skip to content

TypeScript API / @contentia/decap / DEFAULT_LOCAL_BACKEND_BASE_PATH

Variable: DEFAULT_LOCAL_BACKEND_BASE_PATH ​

ts
const DEFAULT_LOCAL_BACKEND_BASE_PATH: "/__contentia" = '/__contentia';

Base path the local JSON:API mounts under. Must match the localApi.basePath configured on @contentia/vite-plugin (or its default, DEFAULT_LOCAL_API_BASE_PATH); duplicated here rather than imported so this package keeps no runtime dependency on the plugin.