Ревью кода: исправление найденных проблем

This commit is contained in:
Suslov-MD
2026-08-16 18:49:14 +00:00
parent dad4642197
commit 29b0a16f94
28 changed files with 726 additions and 396 deletions
+20
View File
@@ -0,0 +1,20 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
/**
* Vite configuration for the News Editor client.
*
* @returns {import("vite").UserConfig} Vite config object.
*/
export default defineConfig({
plugins: [react()],
server: {
host: true,
port: 5173,
proxy: {
'/api': 'http://localhost:3000',
'/uploads': 'http://localhost:3000',
'/socket.io': { target: 'http://localhost:3000', ws: true },
},
},
});