Skip to content

Commit

Permalink
add sso hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhlongviolin1 committed Sep 28, 2024
1 parent 2072dd7 commit 80ab615
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion taipy/gui/_default_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"change_delay": None,
"chart_dark_template": None,
"base_url": "/",
"client_url": "http://localhost:5000",
"client_url": "http://127.0.0.1:5000",
"dark_mode": True,
"dark_theme": None,
"debug": False,
Expand Down
2 changes: 2 additions & 0 deletions taipy/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2609,6 +2609,8 @@ def __register_blueprint(self):
# server URL Rule for flask rendered react-router
pages_bp.add_url_rule(f"/{Gui.__INIT_URL}", view_func=self.__init_route)

_Hooks()._add_external_blueprint(self, __name__)

# Register Flask Blueprint if available
for bp in self._flask_blueprint:
t.cast(Flask, self._server.get_flask()).register_blueprint(bp)
Expand Down

0 comments on commit 80ab615

Please sign in to comment.