mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2024-11-21 23:27:29 +00:00
Use lowercase only for headers
This commit is contained in:
parent
c837828a22
commit
6c2b67fb6f
2
index.py
2
index.py
@ -11,7 +11,7 @@ from extractors.captions import extract_captions
|
||||
|
||||
@cherrypy.tools.register("before_finalize", priority=60)
|
||||
def custom_headers():
|
||||
cherrypy.response.headers["Access-Control-Allow-Origin"] = "*"
|
||||
cherrypy.response.headers["access-control-allow-origin"] = "*"
|
||||
|
||||
class Second(object):
|
||||
def _cp_dispatch(self, vpath):
|
||||
|
Loading…
Reference in New Issue
Block a user