|
@@ -3,7 +3,7 @@ import vue from "@vitejs/plugin-vue";
|
|
|
import ViteComponents from "unplugin-vue-components/vite";
|
|
|
import { NaiveUiResolver } from "unplugin-vue-components/resolvers";
|
|
|
|
|
|
-const SERVER_URL = "http://192.168.10.39:8000";
|
|
|
+const SERVER_URL = "https://192.168.10.39";
|
|
|
const path = require("path");
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
@@ -28,6 +28,7 @@ export default defineConfig({
|
|
|
"/api": {
|
|
|
target: SERVER_URL,
|
|
|
changeOrigin: true,
|
|
|
+ secure: false,
|
|
|
},
|
|
|
},
|
|
|
},
|