bugfix: esp32 cam or ustreamer link fix bypassCache append (fixed #185)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
1 parent
7a139d68c5
commit
837f6641d0
1 file changed
+5
-2
@@ -38,8 +38,11 @@
|
||||
'webcamConfig': state => state.gui.webcam
|
||||
}),
|
||||
url() {
|
||||
const params = new URLSearchParams(this.webcamConfig.url);
|
||||
params.set('bypassCache', ""+this.refresh);
|
||||
let basicUrl = this.webcamConfig.url
|
||||
if (basicUrl && basicUrl.indexOf("?") === -1) basicUrl += "?"
|
||||
|
||||
const params = new URLSearchParams(basicUrl)
|
||||
params.set('bypassCache', ""+this.refresh)
|
||||
return decodeURIComponent(params.toString())
|
||||
},
|
||||
webcamStyle() {
|
||||
|
||||
Reference in new issue
Block a user