-
Notifications
You must be signed in to change notification settings - Fork 1
/
vite.config.js.timestamp-1713976208402-a10137ee9a225.mjs
32 lines (32 loc) · 3.89 KB
/
vite.config.js.timestamp-1713976208402-a10137ee9a225.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// vite.config.js
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///Users/andrelim/Desktop/NUS/Academics/23:24%20SEM%202/BT3103%20Application%20Systems%20Development%20for%20Business%20Analytics/Project/l2-final-term-project-l2-group-18/node_modules/vite/dist/node/index.js";
import vue from "file:///Users/andrelim/Desktop/NUS/Academics/23:24%20SEM%202/BT3103%20Application%20Systems%20Development%20for%20Business%20Analytics/Project/l2-final-term-project-l2-group-18/node_modules/@vitejs/plugin-vue/dist/index.mjs";
var __vite_injected_original_import_meta_url = "file:///Users/andrelim/Desktop/NUS/Academics/23:24%20SEM%202/BT3103%20Application%20Systems%20Development%20for%20Business%20Analytics/Project/l2-final-term-project-l2-group-18/vite.config.js";
var vite_config_default = defineConfig({
plugins: [
vue()
],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
}
},
server: {
proxy: {
// Proxy API requests to Google Maps Directions API
"/api": {
target: "https://maps.googleapis.com/maps/api/directions",
changeOrigin: true,
// Needed for virtual hosted sites
rewrite: (path) => path.replace(/^\/api/, ""),
secure: false
// Set to true if you're on HTTPS
}
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvVXNlcnMvYW5kcmVsaW0vRGVza3RvcC9OVVMvQWNhZGVtaWNzLzIzOjI0IFNFTSAyL0JUMzEwMyBBcHBsaWNhdGlvbiBTeX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