9 lines
246 B
TypeScript
9 lines
246 B
TypeScript
import { HttpClient } from '@triplit/client';
|
|
import { schema } from '#triplit/schema';
|
|
|
|
export const httpClient = new HttpClient({
|
|
schema,
|
|
serverUrl: process.env.NUXT_PUBLIC_TRIPLIT_URL,
|
|
token: process.env.TRIPLIT_SERVICE_TOKEN,
|
|
});
|