diff options
Diffstat (limited to 'client/src/app/helpers')
-rw-r--r-- | client/src/app/helpers/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/helpers/utils.ts b/client/src/app/helpers/utils.ts index a22507f46..9c805b4ca 100644 --- a/client/src/app/helpers/utils.ts +++ b/client/src/app/helpers/utils.ts | |||
@@ -58,7 +58,7 @@ function getAbsoluteAPIUrl () { | |||
58 | } | 58 | } |
59 | 59 | ||
60 | function getAbsoluteEmbedUrl () { | 60 | function getAbsoluteEmbedUrl () { |
61 | let absoluteEmbedUrl = environment.embedUrl | 61 | let absoluteEmbedUrl = environment.originServerUrl |
62 | if (!absoluteEmbedUrl) { | 62 | if (!absoluteEmbedUrl) { |
63 | // The Embed is on the same domain | 63 | // The Embed is on the same domain |
64 | absoluteEmbedUrl = window.location.origin | 64 | absoluteEmbedUrl = window.location.origin |