feat: api key ui
This commit is contained in:
@@ -22,6 +22,7 @@ const ProxyForm: React.FC = () => {
|
|||||||
server: '',
|
server: '',
|
||||||
username: '',
|
username: '',
|
||||||
password: '',
|
password: '',
|
||||||
|
apiKey: '',
|
||||||
});
|
});
|
||||||
|
|
||||||
const { notify } = useGlobalInfoStore();
|
const { notify } = useGlobalInfoStore();
|
||||||
@@ -73,6 +74,16 @@ const ProxyForm: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
|
<FormControl>
|
||||||
|
<TextField
|
||||||
|
label="API Key (Optional)"
|
||||||
|
name="apiKey"
|
||||||
|
value={proxyConfig.apiKey}
|
||||||
|
onChange={handleChange}
|
||||||
|
fullWidth
|
||||||
|
/>
|
||||||
|
</FormControl>
|
||||||
|
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<TextField
|
<TextField
|
||||||
label="Username (Optional)"
|
label="Username (Optional)"
|
||||||
|
|||||||
Reference in New Issue
Block a user