mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 04:39:39 +02:00
Projects included: - maerchenzauber (NestJS backend + Expo mobile + SvelteKit web + Astro landing) - manacore (Expo mobile + SvelteKit web + Astro landing) - manadeck (NestJS backend + Expo mobile + SvelteKit web) - memoro (Expo mobile + SvelteKit web + Astro landing) This commit preserves the current state before monorepo restructuring. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
708 B
JavaScript
23 lines
708 B
JavaScript
import adapter from '@sveltejs/adapter-netlify';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://svelte.dev/docs/kit/integrations
|
|
// for more information about preprocessors
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
// Netlify adapter for SSR with server-side POST handling (required for Apple Sign-In)
|
|
adapter: adapter({
|
|
edge: false, // Use Node-based Netlify Functions (better for OAuth)
|
|
split: false // Single function for all routes (simpler deployment)
|
|
}),
|
|
// Disable built-in CSRF check - we'll handle it in hooks.server.ts
|
|
csrf: {
|
|
checkOrigin: false
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|