We now use a proper user agent including instance version and url during outgoing requests
This commit is contained in:
parent
99200ad077
commit
b5ff339efa
10 changed files with 47 additions and 19 deletions
|
|
@ -5,7 +5,7 @@ from django.conf import settings
|
|||
from funkwhale_api import __version__
|
||||
|
||||
_api = musicbrainzngs
|
||||
_api.set_useragent('funkwhale', str(__version__), 'contact@eliotberriot.com')
|
||||
_api.set_useragent('funkwhale', str(__version__), settings.FUNKWHALE_URL)
|
||||
|
||||
|
||||
store = memoize.djangocache.Cache('default')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue