summaryrefslogtreecommitdiff
path: root/packages/backend/src/queue/processors/SystemWebhookDeliverProcessorService.ts
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-03-02 16:05:12 -0500
committerFreya Murphy <freya@freyacat.org>2026-03-02 18:39:22 -0500
commit24734d408700a72d45c3ff4a679606cab3ec544f (patch)
treed0fee0bcf508f3c631f7c26724bb5cd94dfc88a0 /packages/backend/src/queue/processors/SystemWebhookDeliverProcessorService.ts
parentmerge: Release/2025.4.5 (!1258) (diff)
downloadsharkey-stable.tar.gz
sharkey-stable.tar.bz2
sharkey-stable.zip
split url into webUrl and localUrl (like mastodon)stable
Diffstat (limited to '')
-rw-r--r--packages/backend/src/queue/processors/SystemWebhookDeliverProcessorService.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/backend/src/queue/processors/SystemWebhookDeliverProcessorService.ts b/packages/backend/src/queue/processors/SystemWebhookDeliverProcessorService.ts
index f9fcd1e928..a3c0c47162 100644
--- a/packages/backend/src/queue/processors/SystemWebhookDeliverProcessorService.ts
+++ b/packages/backend/src/queue/processors/SystemWebhookDeliverProcessorService.ts
@@ -42,13 +42,13 @@ export class SystemWebhookDeliverProcessorService {
method: 'POST',
headers: {
'User-Agent': 'Misskey-Hooks',
- 'X-Misskey-Host': this.config.host,
+ 'X-Misskey-Host': this.config.webHost,
'X-Misskey-Hook-Id': job.data.webhookId,
'X-Misskey-Hook-Secret': job.data.secret,
'Content-Type': 'application/json',
},
body: JSON.stringify({
- server: this.config.url,
+ server: this.config.webUrl,
hookId: job.data.webhookId,
eventId: job.data.eventId,
createdAt: job.data.createdAt,