mirror of https://github.com/jumpserver/jumpserver
fix: 修复访问 flower 错误
parent
aa9ae14e46
commit
0fbc548c02
|
@ -16,7 +16,7 @@ __all__ = ['celery_flower_view']
|
|||
def celery_flower_view(request, path):
|
||||
if not request.user.has_perm('ops.view_taskmonitor'):
|
||||
return HttpResponse("Forbidden")
|
||||
remote_url = 'http://{}/{}'.format(flower_url, path)
|
||||
remote_url = 'http://{}/core/flower/{}'.format(flower_url, path)
|
||||
try:
|
||||
response = proxy_view(request, remote_url)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in New Issue