Updated host links to use store baseUri
This commit is contained in:
parent
293e0665c6
commit
39d45bc749
7 changed files with 29 additions and 47 deletions
|
|
@ -69,14 +69,10 @@ export default {
|
|||
|
||||
computed: {
|
||||
settingsUri: function() {
|
||||
return `http://${this.$store.state.host}:${
|
||||
this.$store.state.port
|
||||
}/api/v2/settings`;
|
||||
return `${this.$store.getters.baseUri}/api/v2/settings`;
|
||||
},
|
||||
statusUri: function() {
|
||||
return `http://${this.$store.state.host}:${
|
||||
this.$store.state.port
|
||||
}/api/v2/status`;
|
||||
return `${this.$store.getters.baseUri}/api/v2/status`;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue