Switch back to VITE env variable for API token

Can't find a way around… but this works!
This commit is contained in:
2022-08-16 20:40:57 +02:00
parent 4a79015ec4
commit 42e9029da8
14 changed files with 39 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
import { error } from '@sveltejs/kit'
import type { PageServerLoad } from './$types'
import { fetchAPI } from '$utils/api/data'
import { fetchAPI } from '$utils/api'
import { PUBLIC_PREVIEW_COUNT } from '$env/static/public'