Fix Plex Web Issues

Causes issues with Plex web due to Access-Control-Allow-Headers missing header.
This commit is contained in:
AllanMar 2017-02-21 20:22:59 -04:00 committed by GitHub
parent 5136424b37
commit 36d57c2452

View file

@ -58,7 +58,7 @@ class MyHandler(BaseHTTPRequestHandler):
'x-plex-version, x-plex-platform-version, x-plex-username, ' 'x-plex-version, x-plex-platform-version, x-plex-username, '
'x-plex-client-identifier, x-plex-target-client-identifier, ' 'x-plex-client-identifier, x-plex-target-client-identifier, '
'x-plex-device-name, x-plex-platform, x-plex-product, accept, ' 'x-plex-device-name, x-plex-platform, x-plex-product, accept, '
'x-plex-device') 'x-plex-device, x-plex-device-screen-resolution')
self.end_headers() self.end_headers()
self.wfile.close() self.wfile.close()