Skip to content

Commit

Permalink
correct how favicon can be customized (use FlexMeasures UI Blueprint,…
Browse files Browse the repository at this point in the history
… not the plugin one)

Signed-off-by: Nicolas Höning <nicolas@seita.nl>
  • Loading branch information
nhoening committed Jun 6, 2024
1 parent c21e5a0 commit 99ab1d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion documentation/plugin/customisation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,9 @@ Then, overwrite the ``/favicon.ico`` route which FlexMeasures uses to get the fa
.. code-block:: python
from flask import send_from_directory
from flexmeasures.ui import flexmeasures_ui
@our_client_bp.route("/favicon.ico")
@flexmeasures_ui.route("/favicon.ico")
def favicon():
return send_from_directory(
our_client_bp.static_folder,
Expand Down

0 comments on commit 99ab1d5

Please sign in to comment.