diff options
author | Roman Chvanikov <chvanikoff@pm.me> | 2020-07-10 23:05:07 +0300 |
---|---|---|
committer | Roman Chvanikov <chvanikoff@pm.me> | 2020-07-10 23:05:07 +0300 |
commit | bb693768ff6f6afcb0b888b5a39100c6ff41f6bf (patch) | |
tree | c98faa365dfed7e4f408b5b527bed4636d99e472 /lib/pleroma/web/controllers/frontend/pleroma_controller.ex | |
parent | 6f0ac38f1d59264086e40392a59a1d753bd9b356 (diff) | |
download | pleroma-bb693768ff6f6afcb0b888b5a39100c6ff41f6bf.tar.gz |
Partially fix tests
Diffstat (limited to 'lib/pleroma/web/controllers/frontend/pleroma_controller.ex')
-rw-r--r-- | lib/pleroma/web/controllers/frontend/pleroma_controller.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/controllers/frontend/pleroma_controller.ex b/lib/pleroma/web/controllers/frontend/pleroma_controller.ex index b1286be54..2c48aeaba 100644 --- a/lib/pleroma/web/controllers/frontend/pleroma_controller.ex +++ b/lib/pleroma/web/controllers/frontend/pleroma_controller.ex @@ -24,7 +24,7 @@ defmodule Pleroma.Web.Frontend.PleromaController do # not intended to be matched from router, but can be called from the app internally def index_with_meta(conn, params) do - {:ok, path} = index_file_path() + {:ok, path} = fe_file_path("index.html") {:ok, index_content} = File.read(path) tags = @@ -48,7 +48,7 @@ defmodule Pleroma.Web.Frontend.PleromaController do end def index_with_preload(conn, params) do - {:ok, path} = index_file_path() + {:ok, path} = fe_file_path("index.html") {:ok, index_content} = File.read(path) preloads = preload_data(conn, params) |