tried setting up Webrtc RTP (not working)

This commit is contained in:
AlexanderHD27
2024-10-20 00:30:33 +02:00
parent ae9347d603
commit 50f9b0e89c
10 changed files with 231 additions and 9 deletions

View File

@@ -2,5 +2,13 @@ import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()]
plugins: [sveltekit()],
server: {
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true
}
}
}
});