瀏覽代碼

Add debugging logs.

tags/v0.9.9
Roger Braun 7 年之前
父節點
當前提交
151da344be
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      lib/pleroma/web/websub/websub.ex

+ 1
- 0
lib/pleroma/web/websub/websub.ex 查看文件

@@ -44,6 +44,7 @@ defmodule Pleroma.Web.Websub do
|> to_string

signature = sign(sub.secret, response)
Logger.debug("Pushing to #{sub.callback}")
HTTPoison.post(sub.callback, response, [
{"Content-Type", "application/atom+xml"},
{"X-Hub-Signature", "sha1=#{signature}"}


Loading…
取消
儲存