Skip to content

Commit

Permalink
用户测试bug修复
Browse files Browse the repository at this point in the history
  • Loading branch information
bios000 committed Oct 18, 2022
1 parent 3736cc4 commit 37cd247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- "21:21"
- "80:80"
- "2345:2345"
- "2333:53/udp"
- "53:53/udp"
- "443:443"
environment:
# 平台数据库配置,与上mysql配置保持一致
Expand Down
2 changes: 1 addition & 1 deletion modules/message/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def index(request):
headers = dict((regex.sub('', header), value) for (header, value) in request.META.items() if
header.startswith('HTTP_'))
# 利用组件返回response
if host == PLATFORM_DOMAIN and path == os.environ.get('LOGIN_PATH'):
if path == os.environ.get('LOGIN_PATH'):
return render(request, '../static/index.html')
elif len(path) == 4:
task_config_item = TaskConfigItem.objects.filter(task_config__key=path,
Expand Down

0 comments on commit 37cd247

Please sign in to comment.