zrok/ui/vite.config.ts

19 lines
343 B
TypeScript
Raw Permalink Normal View History

2024-11-20 17:58:02 +01:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
2024-11-20 20:10:34 +01:00
server: {
proxy: {
'/api/v1': {
target: 'http://localhost:18080',
changeOrigin: true,
}
2025-01-27 22:50:39 +01:00
},
allowedHosts: [
".share.zrok.io"
]
2024-11-20 20:10:34 +01:00
}
2024-11-20 17:58:02 +01:00
})