This repository was archived by the owner on Oct 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed
Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 88 "build" : " npm run build --workspaces --if-present && npm run postbuild" ,
99 "postbuild" : " ./postbuild.sh" ,
1010 "format" : " prettier -w ." ,
11- "deploy" : " wrangler pages deploy ./dist"
11+ "deploy" : " npm run build && wrangler pages deploy ./dist"
1212 },
1313 "devDependencies" : {
1414 "prettier" : " ^2.8.0" ,
Original file line number Diff line number Diff line change @@ -17,13 +17,15 @@ function App() {
1717 ) ;
1818 return ;
1919 }
20+ const baseURI = searchParams . get ( "baseURI" ) ?? "realtime.cloudflare.com" ;
2021
2122 initMeeting ( {
2223 authToken,
2324 defaults : {
2425 audio : false ,
2526 video : false ,
2627 } ,
28+ baseURI,
2729 } ) . then ( ( meeting ) => {
2830 Object . assign ( window , { meeting } ) ;
2931 } ) ;
Original file line number Diff line number Diff line change @@ -21,13 +21,15 @@ function App() {
2121 ) ;
2222 return ;
2323 }
24+ const baseURI = searchParams . get ( "baseURI" ) ?? "realtime.cloudflare.com" ;
2425
2526 initMeeting ( {
2627 authToken,
2728 defaults : {
2829 video : false ,
2930 audio : false ,
3031 } ,
32+ baseURI,
3133 } ) . then ( ( m ) => {
3234 Object . assign ( window , { meeting : m } ) ;
3335 } ) ;
Original file line number Diff line number Diff line change @@ -16,13 +16,15 @@ function App() {
1616 ) ;
1717 return ;
1818 }
19+ const baseURI = searchParams . get ( "baseURI" ) ?? "realtime.cloudflare.com" ;
1920
2021 initMeeting ( {
2122 authToken,
2223 defaults : {
2324 video : false ,
2425 audio : false ,
2526 } ,
27+ baseURI,
2628 } ) . then ( ( m ) => m ?. joinRoom ( ) ) ;
2729 } , [ ] ) ;
2830
You can’t perform that action at this time.
0 commit comments