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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-05-31 14:00:27 +0300
committerJoas Schilling <coding@schilljs.com>2022-05-31 14:00:27 +0300
commit3c2c09eb93cd023fe3d5966be5d9d4398bf5cfe6 (patch)
tree6446c592c995cb6b3e6ada57e9fa07e95e70358a /lib
parente06520f316f6e8c16a955147ea6284f493d945e7 (diff)
Fix backend url from CLI
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Signaling/BackendNotifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Signaling/BackendNotifier.php b/lib/Signaling/BackendNotifier.php
index a1c0547d1..139107a9d 100644
--- a/lib/Signaling/BackendNotifier.php
+++ b/lib/Signaling/BackendNotifier.php
@@ -129,7 +129,7 @@ class BackendNotifier {
$hash = hash_hmac('sha256', $random . $body, $this->config->getSignalingSecret());
$headers['Spreed-Signaling-Random'] = $random;
$headers['Spreed-Signaling-Checksum'] = $hash;
- $headers['Spreed-Signaling-Backend'] = $this->urlGenerator->getBaseUrl();
+ $headers['Spreed-Signaling-Backend'] = $this->urlGenerator->getAbsoluteURL('');
$params = [
'headers' => $headers,