Allowing ngrok connections to the video-transform demo
This commit is contained in:
@@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react-swc';
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
allowedHosts: true, // Allows external connections like ngrok
|
||||
proxy: {
|
||||
// Proxy /api requests to the backend server
|
||||
'/api': {
|
||||
|
||||
Reference in New Issue
Block a user