Closed pandafy closed 2 years ago
The notification sound file path is hardcoded.
https://github.com/openwisp/openwisp-notifications/blob/6f880da13ca9a510e48e9cbd8f0d72ef150ea69c/openwisp_notifications/settings.py#L7-L11
Thus the notification sound does not work when a different static file storage backend is used.
Possible solution
We should wrap the file path in django.templatetags.static.static.
django.templatetags.static.static
The notification sound file path is hardcoded.
https://github.com/openwisp/openwisp-notifications/blob/6f880da13ca9a510e48e9cbd8f0d72ef150ea69c/openwisp_notifications/settings.py#L7-L11
Thus the notification sound does not work when a different static file storage backend is used.
Possible solution
We should wrap the file path in
django.templatetags.static.static
.