recordings is taken by nginx so refresh fails - change base to recording

This commit is contained in:
Jason Hunter
2021-06-03 13:02:40 -04:00
committed by Blake Blackshear
parent 0d96c3529d
commit 7b3abe330e
4 changed files with 7 additions and 7 deletions

View File

@@ -27,15 +27,15 @@ export default function Sidebar() {
) : null
}
</Match>
<Match path="/recordings/:camera/:date?/:hour?/:seconds?">
<Match path="/recording/:camera/:date?/:hour?/:seconds?">
{({ matches }) =>
matches ? (
<Fragment>
<Separator />
{cameras.map((camera) => (
<Destination
path={`/recordings/${camera}/:date?/:hour?/:seconds?`}
href={`/recordings/${camera}`}
path={`/recording/${camera}/:date?/:hour?/:seconds?`}
href={`/recording/${camera}`}
text={camera}
/>
))}