Skip to content

Commit 6f63b93

Browse files
committed
Add index/root route
1 parent 0d01bf5 commit 6f63b93

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

client/src/entry/analysis/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export function getRouter(Galaxy) {
225225
...StorageRoutes,
226226
{
227227
path: "",
228-
alias: "root",
228+
alias: ["index", "root"],
229229
component: Home,
230230
props: (route) => ({ config: Galaxy.config, query: route.query }),
231231
},

lib/galaxy/webapps/galaxy/buildapp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ def app_pair(global_conf, load_app_kwds=None, wsgi_preflight=True, **kwargs):
194194
# The following routes don't bootstrap any information, simply provide the
195195
# base analysis interface at which point the application takes over.
196196
webapp.add_client_route("/")
197+
webapp.add_client_route("/index")
198+
webapp.add_client_route("/root")
197199
webapp.add_client_route("/about")
198200
webapp.add_client_route("/admin")
199201
webapp.add_client_route("/admin/data_tables")

0 commit comments

Comments
 (0)