Tested and working, added ability to use vite

This commit is contained in:
Craig
2026-08-02 18:46:23 +01:00
parent fc30b28921
commit 42c4deca75
12 changed files with 143 additions and 25 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import basicSsl from '@vitejs/plugin-basic-ssl'
// https://vite.dev/config/
export default defineConfig({
plugins: [svelte()],
plugins: [svelte(), basicSsl()],
server: {
// Dev proxy so the frontend can call /api without CORS in production-style setups
proxy: {