feat: add HTTP and WebSocket development proxy

This commit is contained in:
2026-10-31 22:11:17 +01:00
parent 51251e444a
commit adeb68cbd5
14 changed files with 397 additions and 14 deletions
+11
View File
@@ -0,0 +1,11 @@
import { defineConfig } from '@fretuks/iceberg';
export default defineConfig({
server: {
port: 3000,
proxy: {
'/api': 'http://localhost:3001',
'/socket': { target: 'http://localhost:3001', ws: true }
}
}
});