forked from indymedia/epicyon
Sequence
parent
4ab1499d5b
commit
bc11bbfb6a
|
@ -639,6 +639,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.GETbusy=False
|
||||
return
|
||||
|
||||
# send robots.txt if asked
|
||||
if self._robotsTxt():
|
||||
self.server.GETbusy=False
|
||||
return
|
||||
|
||||
# if not authorized then show the login screen
|
||||
if htmlGET and self.path!='/login' and self.path!='/':
|
||||
if '/media/' not in self.path and \
|
||||
|
@ -876,10 +881,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if self._webfinger():
|
||||
self.server.GETbusy=False
|
||||
return
|
||||
# send robots.txt if asked
|
||||
if self._robotsTxt():
|
||||
self.server.GETbusy=False
|
||||
return
|
||||
|
||||
if self.path.startswith('/login') or self.path=='/':
|
||||
# request basic auth
|
||||
|
|
Loading…
Reference in New Issue