Skip to content

Commit

Permalink
Update welcome page path to /superset/welcome/
Browse files Browse the repository at this point in the history
  • Loading branch information
kalyan540 committed Mar 3, 2025
1 parent 40e45c6 commit 1283cf0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion superset-frontend/src/views/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ type Routes = {

export const routes: Routes = [
{
path: '/welcome/',
path: '/superset/welcome/',
Component: Home,
},
{
Expand Down
6 changes: 3 additions & 3 deletions superset/initialization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def init_views(self) -> None:
appbuilder.add_link(
"Home",
label=__("Home"),
href="/welcome/",
href="/superset/welcome/",
cond=lambda: bool(appbuilder.app.config["LOGO_TARGET_PATH"]),
)

Expand Down Expand Up @@ -698,9 +698,9 @@ def enable_profiling(self) -> None:
if self.config["PROFILING"]:
profiling.init_app(self.superset_app)

WELCOME_PAGE_REDIRECT_ADMIN="/welcome/"
WELCOME_PAGE_REDIRECT_ADMIN="/superset/welcome/"
#WELCOME_PAGE_REDIRECT_DEFAULT="/dashboards/list"
WELCOME_PAGE_REDIRECT_DEFAULT="/welcome/"
WELCOME_PAGE_REDIRECT_DEFAULT="/superset/welcome/"
LOGIN_PAGE_REDIRECT="/login/"

WELCOME_PAGE_REDIRECT_BY_ROLE={
Expand Down
2 changes: 1 addition & 1 deletion superset/views/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def menu_data(user: User) -> dict[str, Any]:
return {
"menu": appbuilder.menu.get_data(),
"brand": {
"path": appbuilder.app.config["LOGO_TARGET_PATH"] or "/welcome/",
"path": appbuilder.app.config["LOGO_TARGET_PATH"] or "/superset/welcome/",
"icon": appbuilder.app_icon,
"alt": appbuilder.app_name,
"tooltip": appbuilder.app.config["LOGO_TOOLTIP"],
Expand Down

0 comments on commit 1283cf0

Please sign in to comment.