mirror of
https://github.com/clucraft/PriceGhost.git
synced 2026-04-25 16:56:23 +02:00
- Created ToastContext with showToast hook - Toast notifications appear in bottom-right, auto-dismiss after 3s - Added success/error toasts for: - Saving notification settings - Refreshing prices - Updating check interval - Deleting products - Replaced alert() calls with toast notifications Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
328 B
JavaScript
14 lines
328 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:3001',
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
});
|