This commit is contained in:
@@ -9,10 +9,7 @@
|
||||
type TolgeeStaticData,
|
||||
} from '@tolgee/svelte'
|
||||
import { TopBar } from '$lib/components/ui/topBar'
|
||||
import {
|
||||
PUBLIC_TOLGEE_API_KEY,
|
||||
PUBLIC_TOLGEE_API_URL,
|
||||
} from '$env/static/public'
|
||||
import { env } from '$env/dynamic/public'
|
||||
import type { Snippet } from 'svelte'
|
||||
|
||||
let { children, data }: { data: TolgeeStaticData; children: Snippet } =
|
||||
@@ -32,9 +29,9 @@
|
||||
.init({
|
||||
language: 'de',
|
||||
|
||||
// // for development
|
||||
// apiUrl: PUBLIC_TOLGEE_API_URL,
|
||||
// apiKey: PUBLIC_TOLGEE_API_KEY,
|
||||
// for development
|
||||
apiUrl: env.PUBLIC_TOLGEE_API_URL,
|
||||
apiKey: env.PUBLIC_TOLGEE_API_KEY,
|
||||
|
||||
// for production
|
||||
staticData: {
|
||||
|
||||
Reference in New Issue
Block a user