Skip to content

Commit 3967999

Browse files
committed
fix(router): show 404 page for invalid URLs (#382)
Closes #379
1 parent 2414316 commit 3967999

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

reana-ui/src/components/App.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ export default function App() {
8484
<Route path="/privacy-notice" element={<PrivacyNotice />} />
8585
<Route path="/signin_callback" element={<OAuthSignin />} />
8686
<Route
87-
exact
8887
path="/"
8988
element={
9089
<RequireAuth>
@@ -117,7 +116,6 @@ export default function App() {
117116
}
118117
/>
119118
<Route
120-
exact
121119
path="/launch"
122120
element={
123121
<RequireAuth>
@@ -126,7 +124,6 @@ export default function App() {
126124
}
127125
/>
128126
<Route
129-
exact
130127
path="/launcher-badge"
131128
element={
132129
<RequireAuth>
@@ -135,7 +132,7 @@ export default function App() {
135132
}
136133
/>
137134
<Route
138-
path="/"
135+
path="*"
139136
element={
140137
<RequireAuth>
141138
<NotFound />

0 commit comments

Comments
 (0)