4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

Send theme to /render, so that the core can show a themed version of the loading screen.

This commit is contained in:
CalDescent 2022-03-08 22:25:00 +00:00
parent cab77873dd
commit 96825f6b0d

View File

@ -131,7 +131,7 @@ class WebBrowser extends LitElement {
const render = () => {
const myNode = window.parent.reduxStore.getState().app.nodeConfig.knownNodes[window.parent.reduxStore.getState().app.nodeConfig.node]
const nodeUrl = myNode.protocol + '://' + myNode.domain + ':' + myNode.port
this.url = `${nodeUrl}/render/${this.service}/${this.name}`;
this.url = `${nodeUrl}/render/${this.service}/${this.name}?theme=${this.theme}`;
}
const authorizeAndRender = () => {