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({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
server: {
|
server: {
|
||||||
|
allowedHosts: true, // Allows external connections like ngrok
|
||||||
proxy: {
|
proxy: {
|
||||||
// Proxy /api requests to the backend server
|
// Proxy /api requests to the backend server
|
||||||
'/api': {
|
'/api': {
|
||||||
|
|||||||
Reference in New Issue
Block a user