Files
libredesk/frontend/vite.config.js
Abhinav Raut d77756476e fix: Ticks of bar charts.
- Update shadcn charts.
- Refactors user store.
- Fix: pagination incorrect total pages.
- Comestic changes and cleanups.
- Fixes toaster not working in OuterApp.vue.
- Allow complete from address in notification settings from address form field.
2024-11-06 02:44:02 +05:30

35 lines
649 B
JavaScript

import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
server: {
port: 8000,
proxy: {
'/api': {
target: 'http://127.0.0.1:9000',
},
'/logout': {
target: 'http://127.0.0.1:9000',
},
'/uploads': {
target: 'http://127.0.0.1:9000',
},
'/ws': {
target: 'ws://127.0.0.1:9000',
ws: true,
},
},
},
plugins: [
vue(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
})