feat: Implement initial multiplayer lobby and game room functionality with server-side room management.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import path from 'path';
|
||||
import * as path from 'path';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
@@ -15,6 +15,7 @@ export default defineConfig({
|
||||
}
|
||||
},
|
||||
server: {
|
||||
host: '0.0.0.0', // Expose to network
|
||||
proxy: {
|
||||
'/api': 'http://localhost:3000', // Proxy API requests to backend
|
||||
'/socket.io': {
|
||||
|
||||
Reference in New Issue
Block a user