Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into fb-optic-1061
Browse files Browse the repository at this point in the history
  • Loading branch information
bmartel committed Dec 17, 2024
2 parents b95154c + 4dd9e7a commit bb230fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion label_studio/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def version_page(request):
# html / json response
if request.path == '/version/':
# other settings from backend
if request.user.is_superuser:
if not getattr(settings, 'CLOUD_INSTANCE', False) and request.user.is_superuser:
result['settings'] = {
key: str(getattr(settings, key))
for key in dir(settings)
Expand Down

0 comments on commit bb230fe

Please sign in to comment.