From dc84f578e06dfd01dd0c8f8b75c185a07c018b87 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Fri, 4 Aug 2023 10:32:36 +0200 Subject: [PATCH] frontend: trigger vercel update with latest env variables --- www/app/components/webrtc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/app/components/webrtc.js b/www/app/components/webrtc.js index 02aea897..62bebb0d 100644 --- a/www/app/components/webrtc.js +++ b/www/app/components/webrtc.js @@ -1,6 +1,7 @@ import { useEffect, useState } from "react"; import Peer from "simple-peer"; +// allow customization of the WebRTC server URL from env const WEBRTC_SERVER_URL = process.env.NEXT_PUBLIC_WEBRTC_SERVER_URL || "http://127.0.0.1:1250/offer"; const useWebRTC = (stream) => {