import type { PageLoad } from './$types';
import { server } from '../helpers';
export const load: PageLoad = async ({ url, fetch }) => {
const url_ = `${server}/api/settings`;
const resp = await fetch(url_, { credentials: 'include' });
console.log('_status_', resp.status, url);
const y = await resp.json();
console.log('y', y, y.is_owner);
return y;
};