fix css headers
This commit is contained in:
parent
1902bc05f4
commit
c857e51c56
1 changed files with 1 additions and 6 deletions
|
@ -156,7 +156,6 @@ class handler(BaseHTTPRequestHandler):
|
|||
self.send_response(200)
|
||||
self.send_header('Content-type', 'text/css')
|
||||
self.end_headers()
|
||||
|
||||
cssfile = open("default.css", "rb")
|
||||
cssfile = cssfile.read()
|
||||
self.wfile.write(cssfile)
|
||||
|
@ -172,7 +171,7 @@ class handler(BaseHTTPRequestHandler):
|
|||
elif self.path in ["/faq", "/faq?"]:
|
||||
|
||||
# The font file
|
||||
|
||||
|
||||
faqfile = open("faq.html")
|
||||
faqfile = faqfile.read()
|
||||
faqfile = render.search_widget(faqfile, ADDRESS)
|
||||
|
@ -203,10 +202,6 @@ class handler(BaseHTTPRequestHandler):
|
|||
|
||||
elif "/logo" == self.path:
|
||||
|
||||
self.send_response(200)
|
||||
self.send_header('Content-type', 'image/png')
|
||||
self.end_headers()
|
||||
|
||||
icon = open("favicon.png", "rb")
|
||||
icon = icon.read()
|
||||
self.wfile.write(icon)
|
||||
|
|
Loading…
Reference in a new issue