Skip to content

Commit 237aada

Browse files
committed
chore: 升级依赖
1 parent 54564cf commit 237aada

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

common/core/middleware.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ def process_view(self, request, view_func, view_args, view_kwargs):
119119
return
120120

121121
def process_request(self, request):
122+
if request.path == '/api/common/api/health':
123+
return
122124
self.__handle_request(request)
123125

124126
def process_response(self, request, response):
@@ -127,6 +129,8 @@ def process_response(self, request, response):
127129
:param response:
128130
:return:
129131
"""
132+
if request.path == '/api/common/api/health':
133+
return response
130134
show = False
131135
if self.enable:
132136
if self.methods == 'ALL' or request.method in self.methods:

requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ django==5.1.3
22
djangorestframework==3.15.2
33
django-cors-headers==4.6.0
44
django-filter==24.3
5-
mysqlclient==2.2.5
5+
mysqlclient==2.2.6
66
psycopg2-binary==2.9.10
77
django-redis==5.4.0
88
pycryptodomex==3.21.0
@@ -15,14 +15,14 @@ python-daemon==3.1.0
1515
gunicorn==23.0.0
1616
django-proxy==1.3.0
1717
psutil==6.1.0
18-
uvicorn==0.32.0
18+
uvicorn==0.32.1
1919
daphne==4.1.2
20-
channels==4.1.0
21-
channels-redis==4.2.0
20+
channels==4.2.0
21+
channels-redis==4.2.1
2222
django-ranged-response==0.2.0
2323
user-agents==2.2.0
2424
aiofiles==24.1.0
25-
websockets==14.0
25+
websockets==14.1
2626
django-imagekit==5.0.0
2727
pilkit==3.0
2828
drf-spectacular==0.27.2
@@ -34,9 +34,9 @@ chardet==5.2.0
3434
pyexcel==0.7.1
3535
pyexcel-xlsx==0.6.0
3636
alibabacloud-dysmsapi20170525==3.1.0
37-
phonenumbers==8.13.49
37+
phonenumbers==8.13.50
3838
pycountry==24.6.1
39-
geoip2==4.8.0
39+
geoip2==4.8.1
4040
ipip-ipdb==1.6.1
4141
requests==2.32.3
4242
html2text==2024.2.26

0 commit comments

Comments
 (0)