chore: lint
This commit is contained in:
@@ -145,22 +145,22 @@ const ProxyForm: React.FC = () => {
|
|||||||
{tabIndex === 0 && (
|
{tabIndex === 0 && (
|
||||||
isProxyConfigured ? (
|
isProxyConfigured ? (
|
||||||
<Box sx={{ maxWidth: 600, width: '100%', marginTop: '5px' }}>
|
<Box sx={{ maxWidth: 600, width: '100%', marginTop: '5px' }}>
|
||||||
<TableContainer component={Paper} sx={{ marginBottom: '20px' }}>
|
<TableContainer component={Paper} sx={{ marginBottom: '20px' }}>
|
||||||
<Table>
|
<Table>
|
||||||
<TableHead>
|
<TableHead>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell><strong>Proxy URL</strong></TableCell>
|
<TableCell><strong>Proxy URL</strong></TableCell>
|
||||||
<TableCell><strong>Requires Authentication</strong></TableCell>
|
<TableCell><strong>Requires Authentication</strong></TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableHead>
|
</TableHead>
|
||||||
<TableBody>
|
<TableBody>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell>{proxy.proxy_url}</TableCell>
|
<TableCell>{proxy.proxy_url}</TableCell>
|
||||||
<TableCell>{proxy.auth ? 'Yes' : 'No'}</TableCell>
|
<TableCell>{proxy.auth ? 'Yes' : 'No'}</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableBody>
|
</TableBody>
|
||||||
</Table>
|
</Table>
|
||||||
</TableContainer>
|
</TableContainer>
|
||||||
<Button variant="outlined" color="primary" onClick={testProxy}>
|
<Button variant="outlined" color="primary" onClick={testProxy}>
|
||||||
Test Proxy
|
Test Proxy
|
||||||
</Button>
|
</Button>
|
||||||
@@ -237,32 +237,32 @@ const ProxyForm: React.FC = () => {
|
|||||||
Coming Soon - In Open Source (Basic Rotation) & Cloud (Advanced Rotation). If you don't want to manage the infrastructure, join our cloud waitlist to get early access.
|
Coming Soon - In Open Source (Basic Rotation) & Cloud (Advanced Rotation). If you don't want to manage the infrastructure, join our cloud waitlist to get early access.
|
||||||
</Typography>
|
</Typography>
|
||||||
<Button variant="contained" color="primary" sx={{ marginTop: '20px' }}>
|
<Button variant="contained" color="primary" sx={{ marginTop: '20px' }}>
|
||||||
<a style={{color: 'white', textDecoration: 'none'}} href="https://forms.gle/hXjgqDvkEhPcaBW76">Join Maxun Cloud Waitlist</a>
|
<a style={{ color: 'white', textDecoration: 'none' }} href="https://forms.gle/hXjgqDvkEhPcaBW76">Join Maxun Cloud Waitlist</a>
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
</FormContainer>
|
</FormContainer>
|
||||||
<Box sx={{ marginTop: '20px', padding: '20px', border: '1px solid #ccc', borderRadius: '8px', maxWidth: '600px' }}>
|
<Box sx={{ marginTop: '20px', padding: '20px', border: '1px solid #ccc', borderRadius: '8px', maxWidth: '600px' }}>
|
||||||
<Typography variant="h6" gutterBottom>
|
<Typography variant="h6" gutterBottom>
|
||||||
Proxy Instructions
|
Proxy Instructions
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="body1" gutterBottom>
|
<Typography variant="body1" gutterBottom>
|
||||||
1. Enter the Proxy Server URL in the format: http://myproxy.com:3128 or socks5://myproxy.com:3128.
|
1. Enter the Proxy Server URL in the format: http://myproxy.com:3128 or socks5://myproxy.com:3128.
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="body1" gutterBottom>
|
<Typography variant="body1" gutterBottom>
|
||||||
2. If your proxy requires authentication, toggle the "Requires Authentication?" switch and provide the username and password.
|
2. If your proxy requires authentication, toggle the "Requires Authentication?" switch and provide the username and password.
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="body1" gutterBottom>
|
<Typography variant="body1" gutterBottom>
|
||||||
3. Click "Add Proxy" to save the configuration.
|
3. Click "Add Proxy" to save the configuration.
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="body1" gutterBottom>
|
<Typography variant="body1" gutterBottom>
|
||||||
4. Use the "Test Proxy" button to verify if the proxy configuration is working.
|
4. Use the "Test Proxy" button to verify if the proxy configuration is working.
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="body1" gutterBottom>
|
<Typography variant="body1" gutterBottom>
|
||||||
5. If needed, you can remove the proxy configuration using the "Remove Proxy" button.
|
5. If needed, you can remove the proxy configuration using the "Remove Proxy" button.
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user