Updated host links to use store baseUri

This commit is contained in:
Joel Collins 2019-11-27 11:32:00 +00:00
parent 293e0665c6
commit 39d45bc749
7 changed files with 29 additions and 47 deletions

View file

@ -410,9 +410,7 @@ export default {
// Get plugin action link
var link = plugins.ScanPlugin.views.tile.links.self;
// Store plugin action URI
this.scanUri = `http://${this.$store.state.host}:${
this.$store.state.port
}${link}`;
this.scanUri = `${this.$store.getters.baseUri}${link}`;
}
})
.catch(error => {