mirror of https://gitlab.com/bashrc2/epicyon
Fonts not in path
parent
af6d80d0a9
commit
95722d127e
|
@ -917,7 +917,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# token based authenticated used by the web interface
|
# token based authenticated used by the web interface
|
||||||
if self.headers.get('Cookie'):
|
if self.headers.get('Cookie') and '/fonts/' not in self.path:
|
||||||
if self.headers['Cookie'].startswith('epicyon='):
|
if self.headers['Cookie'].startswith('epicyon='):
|
||||||
tokenStr = self.headers['Cookie'].split('=', 1)[1].strip()
|
tokenStr = self.headers['Cookie'].split('=', 1)[1].strip()
|
||||||
if ';' in tokenStr:
|
if ';' in tokenStr:
|
||||||
|
|
Loading…
Reference in New Issue