catalog defaults to json

main
Bob Mottram 2021-07-27 22:16:16 +01:00
parent c729e85b9e
commit 44d8afdf41
1 changed files with 1 additions and 1 deletions

View File

@ -10773,7 +10773,7 @@ class PubServer(BaseHTTPRequestHandler):
catalogAuthorized = True
# show shared items catalog for federation
if self._hasAccept(callingDomain) and catalogAuthorized:
catalogType = 'html'
catalogType = 'json'
if self.path.endswith('.csv') or self._requestCSV():
catalogType = 'csv'
elif self.path.endswith('.json') or not self._requestHTTP():