managarten/memoro/apps/web/svelte.config.js
Till-JS e7f5f942f3 chore: initial commit - consolidate 4 projects into monorepo
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>
2025-11-22 23:38:24 +01:00

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;