Two Keys: co-op mystery games for couples. Eight games on four engines (story, defuse, sync, labyrinth), two-device and couch play, mobile-first UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
302 B
TypeScript
16 lines
302 B
TypeScript
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vite';
|
|
|
|
const server = 'http://localhost:3001';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: true,
|
|
proxy: {
|
|
'/api': server,
|
|
'/socket.io': { target: server, ws: true },
|
|
},
|
|
},
|
|
});
|