diff --git a/src/App.js b/src/App.js index 6c17967..62f8328 100644 --- a/src/App.js +++ b/src/App.js @@ -29,7 +29,7 @@ class App extends React.Component { static getDerivedStateFromProps(nextProps, prevState) { let idMatch = matchPath(nextProps.location.pathname, { - path: "/video/:id", + path: "/video/:id/:rec?", exact: true, strict: false });