mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05:00
fix embedded fonts
This commit is contained in:
parent
745108bffd
commit
0f04744f7e
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ class RequestHandler(http.server.SimpleHTTPRequestHandler):
|
|||
fs = os.fstat(f.fileno())
|
||||
self.send_header("Content-Length", str(fs[6]))
|
||||
self.send_header("Last-Modified", self.date_time_string(fs.st_mtime))
|
||||
self.send_header("Access-Control-Allow-Origin", "*")
|
||||
self.end_headers()
|
||||
return f
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in a new issue