diff --git a/src/lib/contants.ts b/src/lib/constants.ts similarity index 100% rename from src/lib/contants.ts rename to src/lib/constants.ts diff --git a/src/routes/+page.server.ts b/src/routes/+page.server.ts index f86b79956..f02869827 100644 --- a/src/routes/+page.server.ts +++ b/src/routes/+page.server.ts @@ -1,4 +1,4 @@ -import { ENDPOINT } from '$lib/contants'; +import { ENDPOINT } from '$lib/constants'; import type { PageServerLoad } from './$types'; export const load: PageServerLoad = async ({ url }) => { diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index eff66908f..063fd4278 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -9,7 +9,7 @@ import 'highlight.js/styles/dark.min.css'; import type { PageData } from './$types'; - import { ENDPOINT as SERVER_ENDPOINT } from '$lib/contants'; + import { ENDPOINT as SERVER_ENDPOINT } from '$lib/constants'; import { onMount, tick } from 'svelte'; import { page } from '$app/stores'; const suggestions = $page.url.searchParams.get('suggestions');