From 215b0c5cb2ff0ef0b2c7b5549704e23d651a4df9 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Thu, 10 Oct 2024 21:51:10 -0400 Subject: Hoist the UI one step up further --- vite.config.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vite.config.js (limited to 'vite.config.js') diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..3229f33 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,16 @@ +import { sveltekit } from '@sveltejs/kit/vite'; +import { defineConfig } from 'vite'; + +export default defineConfig({ + plugins: [sveltekit()], + server: { + fs: { + allow: [ + 'ui' + ] + }, + proxy: { + '/api': 'http://localhost:64209', + }, + }, +}); -- cgit v1.2.3