Skip to content

Commit

Permalink
[Added]
Browse files Browse the repository at this point in the history
- Redirect when no matched
  • Loading branch information
buildingwatsize committed Aug 2, 2021
1 parent 804883e commit afdc607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "encrypt-tools",
"version": "0.1.2",
"version": "0.1.3",
"private": true,
"homepage": "http://buildingwatsize.github.io/encrypt-tools",
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ReactDOM.render(
<Redirect to="/encrypt" />
</Route>
<Route path="/:mode" children={<App />} />
<Redirect to="/encrypt" />
</Switch>
</React.StrictMode>
</BrowserRouter>,
Expand Down

0 comments on commit afdc607

Please sign in to comment.