Tested and working, added ability to use vite
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user