Merchant ID
-
diff --git a/src/assets/vue.svg b/src/assets/vue.svg
deleted file mode 100644
index 770e9d3..0000000
--- a/src/assets/vue.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/vite.config.ts b/vite.config.ts
index 76eada2..f2b98b7 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -2,6 +2,9 @@ import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import UnoCSS from 'unocss/vite'
+// @ts-expect-error process is a nodejs global
+const host = process.env.TAURI_DEV_HOST
+
// https://vitejs.dev/config/
export default defineConfig(async () => ({
plugins: [vue(), UnoCSS()],
@@ -14,6 +17,8 @@ export default defineConfig(async () => ({
server: {
port: 1420,
strictPort: true,
+ host: host || false,
+ hmr: host ? { protocol: 'ws', host, port: 1421 } : undefined,
watch: {
// 3. tell vite to ignore watching `src-tauri`
ignored: ['**/src-tauri/**']