forked from Github/frigate
recordings is taken by nginx so refresh fails - change base to recording
This commit is contained in:
committed by
Blake Blackshear
parent
0d96c3529d
commit
7b3abe330e
@@ -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}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user