// vite.config.ts
import { defineConfig } from "file:///D:/%E9%A1%B9%E7%9B%AE/%E7%81%BF%E8%83%BD/admin-govern/node_modules/.pnpm/vite@5.4.8_@types+node@20.16.9_sass@1.79.3/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/%E9%A1%B9%E7%9B%AE/%E7%81%BF%E8%83%BD/admin-govern/node_modules/.pnpm/@vitejs+plugin-vue@4.6.2_vite@5.4.8_vue@3.5.9/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///D:/%E9%A1%B9%E7%9B%AE/%E7%81%BF%E8%83%BD/admin-govern/node_modules/.pnpm/@vitejs+plugin-vue-jsx@3.1.0_vite@5.4.8_vue@3.5.9/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import path from "path";
var __vite_injected_original_dirname = "D:\\\u9879\u76EE\\\u707F\u80FD\\admin-govern";
var nodeResolve = (dir) => path.resolve(__vite_injected_original_dirname, ".", dir);
var vite_config_default = defineConfig({
  plugins: [vue(), vueJsx()],
  server: {
    host: "0.0.0.0",
    open: true,
    proxy: {
      "/api": {
        // target: 'http://192.168.1.81:10215', //数据中心
        // target: 'http://192.168.1.24:10215', //
        // target: 'http://192.168.1.122:10215', //gfh
        // target: 'http://192.168.1.127:10215', //cdf
        // target: 'http://192.168.1.125:10215',
        target: "http://192.168.1.22:10215",
        // target: 'https://pqmcn.com:8092/api', //治理
        // target:'http://www.zhilitest.com:8089/api',
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/api/, "")
        //路径重写，把'/api'替换为''
      }
    }
    // port:'3000'
  },
  resolve: {
    alias: {
      "@": nodeResolve("src"),
      "~": nodeResolve("public")
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJ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