Fix whitespace
This commit is contained in:
parent
2b3c0a9bac
commit
fc86745006
1 changed files with 3 additions and 3 deletions
|
|
@ -24,9 +24,9 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
if (localStorage.overrideOrigin){
|
if (localStorage.overrideOrigin) {
|
||||||
this.newOrigin = localStorage.overrideOrigin;
|
this.newOrigin = localStorage.overrideOrigin;
|
||||||
}else{
|
} else {
|
||||||
this.newOrigin = "http://microscope.local:5000";
|
this.newOrigin = "http://microscope.local:5000";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -34,7 +34,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
overrideAPIHost: function() {
|
overrideAPIHost: function() {
|
||||||
this.$store.commit("changeOrigin", this.newOrigin);
|
this.$store.commit("changeOrigin", this.newOrigin);
|
||||||
localStorage.overrideOrigin = this.newOrigin
|
localStorage.overrideOrigin = this.newOrigin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue