Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API and WebUI to export recordings #6550

Merged
merged 20 commits into from
Jun 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup unused
  • Loading branch information
NickM-27 committed Jun 7, 2023
commit 7a66ffc35b7da7b3d56401ecd4991aa65e0205a4
6 changes: 2 additions & 4 deletions web/src/routes/Export.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { h, Fragment } from 'preact';
import { useApiHost } from '../api';
import { h } from 'preact';
import Heading from '../components/Heading';
import { useCallback, useState } from 'preact/hooks';
import { useState } from 'preact/hooks';
import useSWR from 'swr';
import Button from '../components/Button';
import axios from 'axios';

export default function Export() {
const apiHost = useApiHost();
const { data: config } = useSWR('config');

const [camera, setCamera] = useState('select');
Expand Down