mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 23:02:52 +01:00
16 lines
288 B
TypeScript
16 lines
288 B
TypeScript
|
import { defineConfig } from 'vite'
|
||
|
import react from '@vitejs/plugin-react'
|
||
|
|
||
|
// https://vite.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [react()],
|
||
|
server: {
|
||
|
proxy: {
|
||
|
'/v1': {
|
||
|
target: 'http://localhost:8888',
|
||
|
changeOrigin: true,
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
})
|