mirror of https://gitlab.com/bashrc2/epicyon
Additional search pattern
parent
965f78fdbf
commit
c7f6e888e6
|
@ -1699,7 +1699,7 @@ def htmlProfileAfterSearch(baseDir: str,path: str,httpPrefix: str, \
|
||||||
debug: bool,projectVersion: str) -> str:
|
debug: bool,projectVersion: str) -> str:
|
||||||
"""Show a profile page after a search for a fediverse address
|
"""Show a profile page after a search for a fediverse address
|
||||||
"""
|
"""
|
||||||
if '/users/' in profileHandle:
|
if '/users/' in profileHandle or '/@' in profileHandle:
|
||||||
searchNickname=getNicknameFromActor(profileHandle)
|
searchNickname=getNicknameFromActor(profileHandle)
|
||||||
searchDomain,searchPort=getDomainFromActor(profileHandle)
|
searchDomain,searchPort=getDomainFromActor(profileHandle)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue