refactor: use global setting for Vercel Edge runtime
This commit is contained in:
@@ -3,9 +3,6 @@ import type { PageServerLoad } from './$types'
|
||||
import { fetchAPI } from '$utils/api'
|
||||
import { PUBLIC_FILTERS_DEFAULT_COUNTRY, PUBLIC_FILTERS_DEFAULT_SORT, PUBLIC_GRID_AMOUNT } from '$env/static/public'
|
||||
|
||||
export const config = {
|
||||
runtime: 'edge'
|
||||
}
|
||||
|
||||
export const load = (async ({ url, setHeaders }) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user