25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

WebAdmin: logo-fill.png is useless since the visual refresh in commit 9eeee67

This commit is contained in:
Badlop 2024-05-25 22:17:38 +02:00
parent 5872ccc992
commit 74d6f0a68d
2 changed files with 0 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 B

View File

@ -61,8 +61,6 @@ get_acl_rule([<<"style.css">>], _) ->
{<<"localhost">>, [all]}; {<<"localhost">>, [all]};
get_acl_rule([<<"logo.png">>], _) -> get_acl_rule([<<"logo.png">>], _) ->
{<<"localhost">>, [all]}; {<<"localhost">>, [all]};
get_acl_rule([<<"logo-fill.png">>], _) ->
{<<"localhost">>, [all]};
get_acl_rule([<<"favicon.ico">>], _) -> get_acl_rule([<<"favicon.ico">>], _) ->
{<<"localhost">>, [all]}; {<<"localhost">>, [all]};
get_acl_rule([<<"additions.js">>], _) -> get_acl_rule([<<"additions.js">>], _) ->
@ -388,12 +386,6 @@ logo() ->
{error, _} -> <<>> {error, _} -> <<>>
end. end.
logo_fill() ->
case misc:read_img("admin-logo-fill.png") of
{ok, Img} -> Img;
{error, _} -> <<>>
end.
%%%================================== %%%==================================
%%%% process_admin %%%% process_admin
@ -458,11 +450,6 @@ process_admin(_Host, #request{path = [<<"logo.png">>]}, _) ->
[{<<"Content-Type">>, <<"image/png">>}, last_modified(), [{<<"Content-Type">>, <<"image/png">>}, last_modified(),
cache_control_public()], cache_control_public()],
logo()}; logo()};
process_admin(_Host, #request{path = [<<"logo-fill.png">>]}, _) ->
{200,
[{<<"Content-Type">>, <<"image/png">>}, last_modified(),
cache_control_public()],
logo_fill()};
process_admin(_Host, #request{path = [<<"additions.js">>]}, _) -> process_admin(_Host, #request{path = [<<"additions.js">>]}, _) ->
{200, {200,
[{<<"Content-Type">>, <<"text/javascript">>}, [{<<"Content-Type">>, <<"text/javascript">>},