Merge branch 'pleroma-feature/compat/push-subscriptions' into 'develop'
Improve web push Closes #393, #422, and #452 See merge request pleroma/pleroma!524
This commit is contained in:
commit
980131b4db
8 changed files with 154 additions and 110 deletions
|
|
@ -156,8 +156,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
|
|||
|> send_resp(200, response)
|
||||
|
||||
_ ->
|
||||
vapid_public_key =
|
||||
Keyword.get(Application.get_env(:web_push_encryption, :vapid_details), :public_key)
|
||||
vapid_public_key = Keyword.get(Pleroma.Web.Push.vapid_config(), :public_key)
|
||||
|
||||
uploadlimit = %{
|
||||
uploadlimit: to_string(Keyword.get(instance, :upload_limit)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue