INBOX NEEDS TO BE A FULL URL YOU IDIOT AM BAKA I SHOULD JUST COMMIT SUDOKU RIGHT NOW
This commit is contained in:
parent
063e3c0d34
commit
f3cc60b202
1 changed files with 5 additions and 5 deletions
|
@ -23,11 +23,11 @@ defmodule Pleroma.Web.ActivityPub.UserView do
|
|||
|
||||
def render("endpoints.json", %{user: %User{local: true} = _user}) do
|
||||
%{
|
||||
"oauthAuthorizationEndpoint" => ~p"/oauth/authorize",
|
||||
"oauthRegistrationEndpoint" => ~p"/api/v1/apps",
|
||||
"oauthTokenEndpoint" => ~p"/oauth/token",
|
||||
"sharedInbox" => ~p"/inbox",
|
||||
"uploadMedia" => ~p"/api/ap/upload_media"
|
||||
"oauthAuthorizationEndpoint" => url(~p"/oauth/authorize"),
|
||||
"oauthRegistrationEndpoint" => url(~p"/api/v1/apps"),
|
||||
"oauthTokenEndpoint" => url(~p"/oauth/token"),
|
||||
"sharedInbox" => url(~p"/inbox"),
|
||||
"uploadMedia" => url(~p"/api/ap/upload_media")
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue