static-fe overhaul #236

Merged
floatingghost merged 24 commits from nbsp/akkoma:pretty-staticfe into develop 2022-12-07 11:20:53 +00:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 3108e32fa5 - Show all commits

View File

@ -100,6 +100,11 @@ defmodule Pleroma.Web.StaticFE.StaticFEController do
meta: meta
})
else
{_, %User{} = user} ->
conn
|> put_status(:found)
|> redirect(external: user.uri || user.ap_id)
_ ->
not_found(conn, "User not found.")
end