update settings

This commit is contained in:
tsukada-ecsec 2018-08-22 11:47:36 +09:00
parent 41256045f2
commit 54166c3ad3
4 changed files with 12 additions and 4 deletions

View file

@ -85,9 +85,9 @@ const WhoToFollowPanel = {
moreUrl: function () {
var host = window.location.hostname
var user = this.user
var whoToFollowLink = this.$store.state.config.whoToFollowLink
var suggestionsWeb = this.$store.state.config.suggestionsWeb
var url
url = whoToFollowLink.replace(/{{host}}/g, encodeURIComponent(host))
url = suggestionsWeb.replace(/{{host}}/g, encodeURIComponent(host))
url = url.replace(/{{user}}/g, encodeURIComponent(user))
return url
},