Skip to content

Commit 4b438ff

Browse files
committed
Allowing ngrok connections to the video-transform demo
1 parent 89a8c16 commit 4b438ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/p2p-webrtc/video-transform/client/typescript/vite.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react-swc';
44
export default defineConfig({
55
plugins: [react()],
66
server: {
7+
allowedHosts: true, // Allows external connections like ngrok
78
proxy: {
89
// Proxy /api requests to the backend server
910
'/api': {

0 commit comments

Comments
 (0)