perf: 修改 logo

pull/8540/head
ibuler 2022-07-05 19:52:00 +08:00 committed by 老广
parent 001e5d857f
commit 98644eeb61
3 changed files with 2 additions and 1 deletions

View File

@ -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