From fb2648b542c8c14861b59a0f96e99e134185ec92 Mon Sep 17 00:00:00 2001 From: Phillip Date: Fri, 21 Jul 2023 22:22:21 +0300 Subject: [PATCH] change this.url on refresh for dev mode --- plugins/plugins/core/qdn/browser/browser.src.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/plugins/core/qdn/browser/browser.src.js b/plugins/plugins/core/qdn/browser/browser.src.js index 95f18177..9ae89c25 100644 --- a/plugins/plugins/core/qdn/browser/browser.src.js +++ b/plugins/plugins/core/qdn/browser/browser.src.js @@ -160,13 +160,13 @@ class WebBrowser extends LitElement { if (this.dev === 'FRAMEWORK') { displayUrl = 'qortal://app/development' } else { - displayUrl = 'qortal://' + this.service + '/' + this.name - if ( this.identifier && this.identifier != 'null' && this.identifier != 'default' ) { - displayUrl = displayUrl.concat('/' + this.identifier) - } - if (this.path != null && this.path != '/') { - displayUrl = displayUrl.concat(this.path) - } + displayUrl = 'qortal://' + this.service + '/' + this.name + if (this.identifier && this.identifier != 'null' && this.identifier != 'default') { + displayUrl = displayUrl.concat('/' + this.identifier) + } + if (this.path != null && this.path != '/') { + displayUrl = displayUrl.concat(this.path) + } } this.displayUrl = displayUrl @@ -2756,7 +2756,7 @@ class WebBrowser extends LitElement { const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node] const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port if (this.dev === 'FRAMEWORK') { - this.url = `${this.link}` + this.url = `${this.link}?time=${new Date().getMilliseconds()}` } else { this.url = `${nodeUrl}/render/${this.service}/${this.name}${this.path != null ? this.path : '' }?theme=${this.theme}&identifier=${this.identifier != null ? this.identifier : ''