zeroMN's picture
Upload 517 files
8d88d9b verified
raw
history blame contribute delete
246 Bytes
import { base } from "$app/paths";
import { redirect } from "@sveltejs/kit";
export async function load({ parent }) {
const { enableCommunityTools } = await parent();
if (enableCommunityTools) {
return {};
}
redirect(302, `${base}/`);
}