mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
Fix thinclient address in dev builds and move thinclient (#586)
* Fix thinclient address in dev builds and move thinclient Update USBFrameProvider.java Create index.html Update index.html Null check stream to prevent spam * Update main.yml Co-authored-by: Chris Gerth <gerth2@users.noreply.github.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
data() {
|
||||
return {
|
||||
seed: 1.0,
|
||||
src: ""
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -73,7 +74,7 @@
|
||||
},
|
||||
mounted() {
|
||||
var wsvs = require('../../plugins/WebsocketVideoStream');
|
||||
this.wsStream = new wsvs.WebsocketVideoStream(this.id, this.port, window.location.host);
|
||||
this.wsStream = new wsvs.WebsocketVideoStream(this.id, this.port, this.$address);
|
||||
},
|
||||
unmounted() {
|
||||
this.wsStream.setPort(0);
|
||||
|
||||
Reference in New Issue
Block a user