mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-05 04:02:21 +00:00
catalog defaults to json
This commit is contained in:
1 parent
c729e85b9e
commit
44d8afdf41
1 file changed
+1
-1
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user