Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2020-05-02 17:18:42 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2020-05-02 17:18:42 +0300
commitb2355218b126c35f3c8e4ce7e0929c056011bc2b (patch)
tree64d67235b8da19fe21416e1e85d58a650b3fb5b5
parentdffd79816c53406658d302a2295e4512808e45d7 (diff)
Only add baseUrl to bgImage if not a full url
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
-rw-r--r--src/PassLink/Action/Connect.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PassLink/Action/Connect.js b/src/PassLink/Action/Connect.js
index 681d745..ede84b3 100644
--- a/src/PassLink/Action/Connect.js
+++ b/src/PassLink/Action/Connect.js
@@ -115,7 +115,7 @@ export default class Connect extends PassLinkAction {
theme['color.background'] = theme.bgColor;
delete theme.bgColor;
}
- if(theme.hasOwnProperty('background')) {
+ if(theme.hasOwnProperty('background') && theme.background.substr(0, 8) !== 'https://') {
theme.background = this._parameters.baseUrl + theme.background;
}
if(theme.hasOwnProperty('logo')) {