diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-11-09 16:25:27 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-25 11:07:56 +0100 |
commit | 5beb89f223539f1e415a976ff104f772526b4d20 (patch) | |
tree | 2164677d16a2965d63499e249aa75ab0e06e3a6c /client/src/app/helpers/utils.ts | |
parent | afff310e50f2fa8419bb4242470cbde46ab54463 (diff) | |
download | PeerTube-5beb89f223539f1e415a976ff104f772526b4d20.tar.gz PeerTube-5beb89f223539f1e415a976ff104f772526b4d20.tar.zst PeerTube-5beb89f223539f1e415a976ff104f772526b4d20.zip |
refactor scoped token service
Diffstat (limited to 'client/src/app/helpers/utils.ts')
-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 |