Files
bodenfeuchte/svelte.config.js
T
admin 534c055598 Migrate from Next.js to SvelteKit
- Replace Next.js app with SvelteKit + adapter-node
- basePath /bodenfeuchte configured in svelte.config.js
- MQTT listener starts via hooks.server.ts on server boot
- Chart.js replaces Recharts for the moisture graph
- Dockerfile simplified: single build step, node build output
- Removed custom server.ts (no longer needed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 20:49:33 +02:00

14 lines
210 B
JavaScript

import adapter from '@sveltejs/adapter-node';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter(),
paths: {
base: '/bodenfeuchte'
}
}
};
export default config;