mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Plugin static assets support both hyphens and underscores in names
Closes #611
This commit is contained in:
parent
ffae2f0ecd
commit
ed57e4f990
2 changed files with 12 additions and 3 deletions
|
|
@ -442,7 +442,7 @@ you have one:
|
|||
@hookimpl
|
||||
def extra_js_urls():
|
||||
return [
|
||||
'/-/static-plugins/your_plugin/app.js'
|
||||
'/-/static-plugins/your-plugin/app.js'
|
||||
]
|
||||
|
||||
.. _plugin_hook_publish_subcommand:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue