File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ module.exports = {
2727 const source = fs . readFileSync ( v . module . userRequest , 'utf-8' ) ;
2828 return JSON . stringify ( source ) ; // Strings need to be wrapped in quotes
2929 } , [ ] ) ,
30+ BASE_PATH : JSON . stringify ( process . env . BASE_PATH || '' ) ,
3031 } )
3132 ) ;
3233
Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ function Page(): JSX.Element {
55 < Head >
66 < meta
77 httpEquiv = "refresh"
8- content = { `0; url=${
9- process . env . BASE_PATH || ''
10- } /samples/videoUploading?videoSource=videoFrame`}
8+ content = { `0; url=${ BASE_PATH } /samples/videoUploading?videoSource=videoFrame` }
119 > </ meta >
1210 </ Head >
1311 ) ;
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ interface HTMLCanvasElement extends HTMLElement {
99}
1010
1111declare const __SOURCE__ : string ;
12+ declare const BASE_PATH : string ;
1213
1314// Defined by webpack.
1415declare namespace NodeJS {
You can’t perform that action at this time.
0 commit comments