This repository has been archived on 2024-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
helse-sprik/frontend/vite.config.ts
Amalie Mansåker aa167d58a0 Nå mulig å kjøre applikasjonen lokalt
Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no>
Co-authored-by: Markus A. R. Johansen <markus.aleksander.rakil.johansen@nav.no>
Co-authored-by: Christian Bülow Skovborg <christian.bulow.skovborg@nav.no>
2023-07-20 13:27:42 +02:00

16 lines
311 B
TypeScript

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