We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d4f071 commit 2eaed80Copy full SHA for 2eaed80
1 file changed
ui/src/components/view/ObjectStoreBrowser.vue
@@ -449,7 +449,7 @@ export default {
449
initMinioClient () {
450
if (!this.client) {
451
const url = /https?:\/\/([^/]+)\/?/.exec(this.resource.url.split(this.resource.name)[0])[1]
452
- const isHttps = /^https/.test(url)
+ const isHttps = /^https/.test(this.resource.url)
453
this.client = new Minio.Client({
454
endPoint: url.split(':')[0],
455
port: url.split(':').length > 1 ? parseInt(url.split(':')[1]) : isHttps ? 443 : 80,
0 commit comments