Files
Messenger/web/vite.config.ts
T
vantablackTea 1a669c948a
CI / Go (build + vet + test) (push) Successful in 10m49s
CI / Web (build + lint) (push) Successful in 10m31s
first commit. added CI, Docker compose, blank client and server. used unit tests, they pass
2026-09-05 01:04:12 +03:00

15 lines
291 B
TypeScript

import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
},
},
},
})