Skip to content

TypeScript API / @contentia/decap / LocalContentiaBackendOptions

Interface: LocalContentiaBackendOptions ​

Properties ​

basePath? ​

ts
basePath?: string;

Base path the local JSON:API is mounted at. Defaults to DEFAULT_LOCAL_BACKEND_BASE_PATH, the Vite plugin's default.


devToken? ​

ts
devToken?: string;

Dummy token DevAuthenticationPage submits. Local mode performs no real auth, so this only needs to be non-empty and stable across reloads. Defaults to DEFAULT_LOCAL_BACKEND_DEV_TOKEN.