missed a spot
This commit is contained in:
parent
b302bd6829
commit
c378eb4b4a
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ export class Element {
|
||||||
if (isWebPlatform && trustedWebInstances.includes(link.webInstances[this.id])) {
|
if (isWebPlatform && trustedWebInstances.includes(link.webInstances[this.id])) {
|
||||||
instanceHost = link.webInstances[this.id];
|
instanceHost = link.webInstances[this.id];
|
||||||
}
|
}
|
||||||
return `https://${instanceHost}/#/${fragmentPath}`;
|
return `https://${instanceHost}/#/${encodeURIComponent(fragmentPath)}`;
|
||||||
} else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) {
|
} else if (platform === Platform.Linux || platform === Platform.Windows || platform === Platform.macOS) {
|
||||||
return `element://vector/webapp/#/${encodeURIComponent(fragmentPath)}`;
|
return `element://vector/webapp/#/${encodeURIComponent(fragmentPath)}`;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue