2025-05-07 17:43:20 +05:30
|
|
|
// import { defineConfig } from 'vite'
|
|
|
|
|
// import react from '@vitejs/plugin-react'
|
|
|
|
|
|
|
|
|
|
// // https://vite.dev/config/
|
|
|
|
|
// export default defineConfig({
|
|
|
|
|
// plugins: [react()],
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
import { defineConfig } from 'vite';
|
|
|
|
|
import react from '@vitejs/plugin-react';
|
2025-02-06 17:28:44 +05:30
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [react()],
|
2025-05-07 17:43:20 +05:30
|
|
|
server: {
|
|
|
|
|
port: 5174,
|
|
|
|
|
proxy: {
|
|
|
|
|
'/api': {
|
2025-05-17 13:55:27 +05:30
|
|
|
target: 'https://api.vvet.in',
|
2025-05-07 17:43:20 +05:30
|
|
|
changeOrigin: true,
|
|
|
|
|
secure: false,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
|