Show More
@@ -631,6 +631,7 b' class NotebookApp(BaseIPythonApplication):' | |||||
631 | def init_webapp(self): |
|
631 | def init_webapp(self): | |
632 | """initialize tornado webapp and httpserver""" |
|
632 | """initialize tornado webapp and httpserver""" | |
633 | self.webapp_settings['allow_origin'] = self.allow_origin |
|
633 | self.webapp_settings['allow_origin'] = self.allow_origin | |
|
634 | if self.allow_origin_pat: | |||
634 | self.webapp_settings['allow_origin_pat'] = re.compile(self.allow_origin_pat) |
|
635 | self.webapp_settings['allow_origin_pat'] = re.compile(self.allow_origin_pat) | |
635 | self.webapp_settings['allow_credentials'] = self.allow_credentials |
|
636 | self.webapp_settings['allow_credentials'] = self.allow_credentials | |
636 |
|
637 |
General Comments 0
You need to be logged in to leave comments.
Login now