mirror of https://github.com/jumpserver/jumpserver
perf: 修改 logo
parent
001e5d857f
commit
98644eeb61
|
@ -1,5 +1,6 @@
|
|||
# ~*~ coding: utf-8 ~*~
|
||||
from __future__ import unicode_literals
|
||||
import os
|
||||
|
||||
from django.urls import path, include, re_path
|
||||
from django.conf import settings
|
||||
|
@ -79,7 +80,7 @@ urlpatterns += [
|
|||
re_path('api/redoc/?', views.get_swagger_view().with_ui('redoc', cache_timeout=1), name='redoc'),
|
||||
]
|
||||
|
||||
if settings.DEBUG_DEV:
|
||||
if os.environ.get('DEBUG_TOOLBAR', False):
|
||||
urlpatterns += [
|
||||
path('__debug__/', include('debug_toolbar.urls')),
|
||||
]
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 8.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 8.1 KiB |
Loading…
Reference in New Issue