Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

391 B
Raw Blame
// DO NOT ADD THIS TO registry.json - internal use only for type checking in the mercur monorepo
import { createClient, InferClient } from "@mercurjs/client"
import { Routes } from '../../../../.mercur/_generated'

declare const __BACKEND_URL__: string

export const client: InferClient<Routes> = createClient({
  baseUrl: __BACKEND_URL__,
  fetchOptions: {
    credentials: 'omit',
  },
})