fixed unreachable cache dir

This commit is contained in:
2025-10-25 13:07:25 +02:00
parent 8e782a5290
commit 41aa77e45d
3 changed files with 22 additions and 16 deletions

View File

@@ -1,9 +0,0 @@
import React from 'react';
import { render, screen } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});

View File

@@ -8,7 +8,14 @@ export default defineConfig({
server: {
port: 3003,
host: true,
open: true
open: true,
proxy: {
'/api': {
target: 'http://localhost:3002',
changeOrigin: true,
secure: false,
}
}
},
build: {
outDir: 'dist',