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