mirror of https://github.com/rancher/ui.git
Fix aliyun issue
This commit is contained in:
parent
e61f304134
commit
ef9abe716b
|
|
@ -87,7 +87,7 @@ export default Component.extend(NodeDriver, {
|
||||||
const location = window.location;
|
const location = window.location;
|
||||||
let endpoint = get(this, 'config.apiEndpoint') ? get(this, 'config.apiEndpoint') : ENDPOINT;
|
let endpoint = get(this, 'config.apiEndpoint') ? get(this, 'config.apiEndpoint') : ENDPOINT;
|
||||||
endpoint = get(this,'app.proxyEndpoint') + '/' + endpoint.replace('//', '/');
|
endpoint = get(this,'app.proxyEndpoint') + '/' + endpoint.replace('//', '/');
|
||||||
endpoint = `${location.origin}/${endpoint}`;
|
endpoint = `${location.origin}${endpoint}`;
|
||||||
|
|
||||||
ecs = new ALY.ECS({
|
ecs = new ALY.ECS({
|
||||||
accessKeyId: get(this, 'config.accessKeyId'),
|
accessKeyId: get(this, 'config.accessKeyId'),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue