forked from AkkomaGang/akkoma
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 @@ 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue