projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#1892] Excluded bot actors (applications, services) from search results.
[akkoma]
/
lib
/
pleroma
/
web
/
fallback_redirect_controller.ex
diff --git
a/lib/pleroma/web/fallback_redirect_controller.ex
b/lib/pleroma/web/fallback_redirect_controller.ex
index 932fb8d7ef647220261c4525cde604c220a25674..431ad5485b2371fbf267692ab12dd54c90fc7198 100644
(file)
--- a/
lib/pleroma/web/fallback_redirect_controller.ex
+++ b/
lib/pleroma/web/fallback_redirect_controller.ex
@@
-4,7
+4,9
@@
defmodule Fallback.RedirectController do
use Pleroma.Web, :controller
defmodule Fallback.RedirectController do
use Pleroma.Web, :controller
+
require Logger
require Logger
+
alias Pleroma.User
alias Pleroma.Web.Metadata
alias Pleroma.Web.Preload
alias Pleroma.User
alias Pleroma.Web.Metadata
alias Pleroma.Web.Preload
@@
-38,8
+40,7
@@
defmodule Fallback.RedirectController do
response =
index_content
response =
index_content
- |> String.replace("<!--server-generated-meta-->", tags)
- |> String.replace("<!--server-generated-initial-data-->", preloads)
+ |> String.replace("<!--server-generated-meta-->", tags <> preloads)
conn
|> put_resp_content_type("text/html")
conn
|> put_resp_content_type("text/html")
@@
-56,7
+57,7
@@
defmodule Fallback.RedirectController do
response =
index_content
response =
index_content
- |> String.replace("<!--server-generated-
initial-da
ta-->", preloads)
+ |> String.replace("<!--server-generated-
me
ta-->", preloads)
conn
|> put_resp_content_type("text/html")
conn
|> put_resp_content_type("text/html")