Files
ssh-manager/frontend/vite.config.ts

19 lines
341 B
TypeScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
server: {
proxy: {
'/api': {
target: 'http://localhost:48080',
changeOrigin: true,
},
'/ws': {
target: 'ws://localhost:48080',
ws: true,
},
},
},
})