mirror of https://github.com/status-im/consul.git
Merge pull request #1321 from daveadams/b-safari-ui-403
Fix #1316: Safari 403 error on k/v page of web UI
This commit is contained in:
commit
b1a335d991
|
@ -379,6 +379,9 @@ App.SettingsRoute = App.BaseRoute.extend({
|
|||
|
||||
// Adds any global parameters we need to set to a url/path
|
||||
function formatUrl(url, dc, token) {
|
||||
if (token == null) {
|
||||
token = "";
|
||||
}
|
||||
if (url.indexOf("?") > 0) {
|
||||
// If our url has existing params
|
||||
url = url + "&dc=" + dc;
|
||||
|
|
Loading…
Reference in New Issue