Don't allow downloads

main
Bob Mottram 2021-09-03 13:55:34 +01:00
parent e036cc15de
commit 1711faaec9
1 changed files with 3 additions and 3 deletions

View File

@ -7144,14 +7144,14 @@ class PubServer(BaseHTTPRequestHandler):
debug)
if debug:
print('Regenerating html post for changed likes collection')
pageNumber = 1
likedPostJson = loadJson(likedPostFilename, 0, 1)
if likedPostJson:
pageNumber = 1
showIndividualPostIcons = True
manuallyApproveFollowers = \
followerApprovalActive(baseDir,
self.postToNickname, domain)
individualPostAsHtml(self.server.signingPrivateKeyPem, True,
individualPostAsHtml(self.server.signingPrivateKeyPem, False,
self.server.recentPostsCache,
self.server.maxRecentPosts,
self.server.translate,
@ -7288,7 +7288,7 @@ class PubServer(BaseHTTPRequestHandler):
manuallyApproveFollowers = \
followerApprovalActive(baseDir,
self.postToNickname, domain)
individualPostAsHtml(self.server.signingPrivateKeyPem, True,
individualPostAsHtml(self.server.signingPrivateKeyPem, False,
self.server.recentPostsCache,
self.server.maxRecentPosts,
self.server.translate,