Skip to content

Commit 7061200

Browse files
authored
Merge pull request #360 from gzuidhof/master
Fix cors preflight for paths with path params
2 parents fd216d2 + 8058889 commit 7061200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_gateway/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def set_default_headers(self):
3737
# Don't set CSP: we're not serving frontend media types only JSON
3838
self.clear_header('Content-Security-Policy')
3939

40-
def options(self):
40+
def options(self, *args, **kwargs):
4141
"""Override the notebook implementation to return the headers
4242
configured in `set_default_headers instead of the hardcoded set
4343
supported by the handler base class in the notebook project.

0 commit comments

Comments
 (0)