bugfix: esp32 cam or ustreamer link fix bypassCache append (fixed #185)

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-02-06 02:20:08 +01:00
1 parent 7a139d68c5
commit 837f6641d0
1 file changed
+5 -2
+5 -2
View File
@@ -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() {