mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-30 06:25:28 -04:00
hide prints and tweak url text in titlebar
This commit is contained in:
parent
2030748d5d
commit
b8c93889c1
2 changed files with 3 additions and 7 deletions
archivebox
|
@ -1020,15 +1020,11 @@ def server(runserver_args: Optional[List[str]]=None,
|
|||
print()
|
||||
|
||||
# fallback to serving staticfiles insecurely with django when DEBUG=False
|
||||
if config.DEBUG:
|
||||
print('DEBUG=True')
|
||||
else:
|
||||
if not config.DEBUG:
|
||||
runserver_args.append('--insecure') # TODO: serve statics w/ nginx instead
|
||||
|
||||
# toggle autoreloading when archivebox code changes (it's on by default)
|
||||
if reload:
|
||||
print('AUTORELOAD=True')
|
||||
else:
|
||||
if not reload:
|
||||
runserver_args.append('--noreload')
|
||||
|
||||
config.SHOW_PROGRESS = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue