mirror of
https://github.com/icereed/paperless-gpt.git
synced 2025-03-12 12:58:02 -05:00
15 lines
437 B
TypeScript
15 lines
437 B
TypeScript
import react from '@vitejs/plugin-react-swc';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8080', // Ihr Go-Webservice
|
|
changeOrigin: true,
|
|
// rewrite: (path) => path.replace(/^\/api/, ''), // Entfernen Sie '/api' aus dem Pfad
|
|
},
|
|
},
|
|
},
|
|
});
|