mirror of https://gitlab.com/bashrc2/epicyon
Missing port argument
parent
7b96e12e2b
commit
4a53e8b2fe
|
@ -1635,7 +1635,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.GETbusy=False
|
self.server.GETbusy=False
|
||||||
return
|
return
|
||||||
hashtagStr= \
|
hashtagStr= \
|
||||||
htmlHashtagSearch(self.server.domain, \
|
htmlHashtagSearch(self.server.domain,self.server.port, \
|
||||||
self.server.recentPostsCache, \
|
self.server.recentPostsCache, \
|
||||||
self.server.maxRecentPosts, \
|
self.server.maxRecentPosts, \
|
||||||
self.server.translate, \
|
self.server.translate, \
|
||||||
|
@ -4649,7 +4649,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if searchStr.startswith('#'):
|
if searchStr.startswith('#'):
|
||||||
# hashtag search
|
# hashtag search
|
||||||
hashtagStr= \
|
hashtagStr= \
|
||||||
htmlHashtagSearch(self.server.domain, \
|
htmlHashtagSearch(self.server.domain,self.server.port, \
|
||||||
self.server.recentPostsCache, \
|
self.server.recentPostsCache, \
|
||||||
self.server.maxRecentPosts, \
|
self.server.maxRecentPosts, \
|
||||||
self.server.translate, \
|
self.server.translate, \
|
||||||
|
|
|
@ -345,7 +345,7 @@ def htmlModerationInfo(translate: {},baseDir: str,httpPrefix: str) -> str:
|
||||||
infoForm+=htmlFooter()
|
infoForm+=htmlFooter()
|
||||||
return infoForm
|
return infoForm
|
||||||
|
|
||||||
def htmlHashtagSearch(domain: str, \
|
def htmlHashtagSearch(domain: str,port: int, \
|
||||||
recentPostsCache: {},maxRecentPosts: int, \
|
recentPostsCache: {},maxRecentPosts: int, \
|
||||||
translate: {}, \
|
translate: {}, \
|
||||||
baseDir: str,hashtag: str,pageNumber: int, \
|
baseDir: str,hashtag: str,pageNumber: int, \
|
||||||
|
|
Loading…
Reference in New Issue