Skip to content

Commit

Permalink
Do not override app's static url path
Browse files Browse the repository at this point in the history
  • Loading branch information
Flix6x committed Jul 19, 2021
1 parent d2f337d commit 61a0b08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions documentation/dev/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A FlexMeasures plugin works as a `Flask Blueprint <https://flask.palletsprojects
.. todo:: We'll use this to allow for custom forecasting and scheduling algorithms, as well.


How it works
How it works
^^^^^^^^^^^^^^

Use the config setting :ref:`plugin-config` to point to your plugin(s).
Expand Down Expand Up @@ -151,7 +151,6 @@ First, your blueprint needs to know about a folder with static content (this is
"our_client",
"our_client",
static_folder="our_client/ui/static",
static_url_path="/ui/static",
)
Put your icon file in that folder. The exact paths may depend on how you set your plugin directories up, but this is how a blueprint living in its own directory could work.
Expand Down

0 comments on commit 61a0b08

Please sign in to comment.