Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
triklozoid committed Sep 27, 2023
1 parent 617e0b5 commit b0c9702
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions label_studio/users/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
path('api/current-user/whoami', api.UserWhoAmIAPI.as_view(), name='current-user-whoami'),
]

# When CLOUD_FILE_STORAGE_ENABLED is set, avatars are uploaded to cloud storage with a different URL pattern.
# This local serving pattern is unnecessary for environments with cloud storage enabled.
if not settings.CLOUD_FILE_STORAGE_ENABLED:
urlpatterns += [
# avatars
Expand Down

0 comments on commit b0c9702

Please sign in to comment.