summaryrefslogtreecommitdiff
path: root/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js16
1 files changed, 16 insertions, 0 deletions
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',
+ },
+ },
+});