Close #75
This commit is contained in:
parent
10a4df130c
commit
c3704cdc63
1 changed files with 10 additions and 0 deletions
|
|
@ -223,6 +223,16 @@ export default {
|
||||||
|
|
||||||
created: function() {
|
created: function() {
|
||||||
if (this.$store.getters.ready) {
|
if (this.$store.getters.ready) {
|
||||||
|
// Detect local connection
|
||||||
|
if (
|
||||||
|
["localhost", "0.0.0.0", "127.0.0.1", "[::1]"].includes(
|
||||||
|
window.location.hostname
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
this.$store.commit("changeSetting", ["disableStream", true]);
|
||||||
|
this.$store.commit("changeSetting", ["autoGpuPreview", true]);
|
||||||
|
this.$store.commit("changeSetting", ["trackWindow", true]);
|
||||||
|
}
|
||||||
// Update plugins
|
// Update plugins
|
||||||
this.updatePlugins().then(() => {
|
this.updatePlugins().then(() => {
|
||||||
// Start initialisation modals
|
// Start initialisation modals
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue