INBOX NEEDS TO BE A FULL URL YOU IDIOT AM BAKA I SHOULD JUST COMMIT SUDOKU RIGHT NOW

This commit is contained in:
FloatingGhost 2023-08-15 23:23:59 +01:00
parent 063e3c0d34
commit f3cc60b202

View file

@ -23,11 +23,11 @@ def render("endpoints.json", %{user: %User{nickname: nil, local: true} = _user})
def render("endpoints.json", %{user: %User{local: true} = _user}) do def render("endpoints.json", %{user: %User{local: true} = _user}) do
%{ %{
"oauthAuthorizationEndpoint" => ~p"/oauth/authorize", "oauthAuthorizationEndpoint" => url(~p"/oauth/authorize"),
"oauthRegistrationEndpoint" => ~p"/api/v1/apps", "oauthRegistrationEndpoint" => url(~p"/api/v1/apps"),
"oauthTokenEndpoint" => ~p"/oauth/token", "oauthTokenEndpoint" => url(~p"/oauth/token"),
"sharedInbox" => ~p"/inbox", "sharedInbox" => url(~p"/inbox"),
"uploadMedia" => ~p"/api/ap/upload_media" "uploadMedia" => url(~p"/api/ap/upload_media")
} }
end end