Better documentation for --static, closes #641

https://datasette.readthedocs.io/en/stable/custom_templates.html#serving-static-files
This commit is contained in:
Simon Willison 2019-11-25 18:31:42 -08:00
commit df2879ee2a
9 changed files with 54 additions and 9 deletions

View file

@ -730,7 +730,7 @@ def remove_infinites(row):
class StaticMount(click.ParamType):
name = "static mount"
name = "mount:directory"
def convert(self, value, param, ctx):
if ":" not in value: