mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 04:39:16 +02:00
Fix #808: Advertise the list of supported upload extensions in the Nodeinfo endpoint
This commit is contained in:
parent
2b7dac2175
commit
119df01335
4 changed files with 10 additions and 0 deletions
|
@ -3,6 +3,7 @@ import memoize.djangocache
|
|||
import funkwhale_api
|
||||
from funkwhale_api.common import preferences
|
||||
from funkwhale_api.federation import actors
|
||||
from funkwhale_api.music import utils as music_utils
|
||||
|
||||
from . import stats
|
||||
|
||||
|
@ -34,6 +35,7 @@ def get():
|
|||
"common__api_authentication_required"
|
||||
),
|
||||
},
|
||||
"supportedUploadExtensions": music_utils.SUPPORTED_EXTENSIONS,
|
||||
},
|
||||
}
|
||||
if share_stats:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue