diff --git a/ui/src/app/components/poll/poll.component.ts b/ui/src/app/components/poll/poll.component.ts index 5b56aa6..57c9e84 100755 --- a/ui/src/app/components/poll/poll.component.ts +++ b/ui/src/app/components/poll/poll.component.ts @@ -496,7 +496,7 @@ export class PollComponent implements OnInit { if (!readOnly || this.poll.readOnly) { return window.location.href; } else { - return window.location.host + "/#/poll/" + + return window.location.origin + "/#/poll/" + Tools.hashIdReadOnlyPrefix + window.location.hash.split("/")[2]; }