anki-connect/plugin
Raphael-Joel Lim a5aecfceee
Explicitly allow requests from public websites via new header (#302)
- Chrome now enforces that servers on private networks explicitly
  grant access to public websites using a new header
  "Access-Control-Allow-Private-Network" that should be sent in
  responses to preflight OPTIONS requests.
- This change implements special handling for OPTIONS requests by
  sending all the existing CORS headers along with the new
  Access-Control-Allow-Private-Network header if private network
  access is being requested.
- See https://developer.chrome.com/blog/private-network-access-preflight/
  for more info.
2022-02-18 23:08:44 -08:00
..
__init__.py Fix updateModelTemplates and updateModelStyling functionality on Anki 2.1.45 and later (#296) 2021-12-26 22:21:21 -08:00
config.json Add requestPermission API method (#255) 2021-05-07 20:33:06 -07:00
config.md Cleanup 2020-01-05 16:24:20 -08:00
util.py Add requestPermission API method (#255) 2021-05-07 20:33:06 -07:00
web.py Explicitly allow requests from public websites via new header (#302) 2022-02-18 23:08:44 -08:00