add base url

This commit is contained in:
Alireza Ahmadi
2024-02-26 19:01:01 +01:00
parent 30c9ed6aa7
commit c54d9c15bc
16 changed files with 80 additions and 30 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import { defineConfig } from 'vite'
import { fileURLToPath, URL } from 'node:url'
export default defineConfig({
base: '',
plugins: [
vue({
template: { transformAssetUrls },
@@ -40,7 +41,7 @@ export default defineConfig({
server: {
port: 3000,
proxy: {
'/api': {
'/app/api': {
target: 'http://localhost:2095',
changeOrigin: true,
},