huangfh 1 жил өмнө
parent
commit
a8a232b15b

+ 2 - 1
electron.vite.config.mjs

@@ -34,7 +34,8 @@ export default defineConfig({
                 '/api': {
                     ws: true,
                     changeOrigin: true,
-                    target: 'http://39.108.216.210:8014',
+                    target: 'http://127.0.0.1:8014',
+                    //target: 'http://39.108.216.210:8014',
                     rewrite: (path) => path.replace(new RegExp('^/api'), '/'),
                 },
             },