mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Removed --debug option, which didn't do anything - closes #814
This commit is contained in:
parent
822260fb30
commit
7e70643852
5 changed files with 1 additions and 9 deletions
|
|
@ -286,9 +286,6 @@ def uninstall(packages, yes):
|
|||
default=8001,
|
||||
help="Port for server, defaults to 8001. Use -p 0 to automatically assign an available port.",
|
||||
)
|
||||
@click.option(
|
||||
"--debug", is_flag=True, help="Enable debug mode - useful for development"
|
||||
)
|
||||
@click.option(
|
||||
"--reload",
|
||||
is_flag=True,
|
||||
|
|
@ -366,7 +363,6 @@ def serve(
|
|||
immutable,
|
||||
host,
|
||||
port,
|
||||
debug,
|
||||
reload,
|
||||
cors,
|
||||
sqlite_extensions,
|
||||
|
|
@ -417,7 +413,7 @@ def serve(
|
|||
|
||||
kwargs = dict(
|
||||
immutables=immutable,
|
||||
cache_headers=not debug and not reload,
|
||||
cache_headers=not reload,
|
||||
cors=cors,
|
||||
inspect_data=inspect_data,
|
||||
metadata=metadata_data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue