Skip to content

Commit 2eaed80

Browse files
authored
ui: fix ssl check in image store browser (#8430)
This PR fixes the ssl in image store browser.
1 parent 9d4f071 commit 2eaed80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/components/view/ObjectStoreBrowser.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ export default {
449449
initMinioClient () {
450450
if (!this.client) {
451451
const url = /https?:\/\/([^/]+)\/?/.exec(this.resource.url.split(this.resource.name)[0])[1]
452-
const isHttps = /^https/.test(url)
452+
const isHttps = /^https/.test(this.resource.url)
453453
this.client = new Minio.Client({
454454
endPoint: url.split(':')[0],
455455
port: url.split(':').length > 1 ? parseInt(url.split(':')[1]) : isHttps ? 443 : 80,

0 commit comments

Comments
 (0)