Restore settings preferences and simplify services editor
This commit is contained in:
@@ -198,10 +198,6 @@ function renderUserCredential(user: ProxyUserRecord): string {
|
||||
}
|
||||
|
||||
function renderServiceCommand(service: ProxyServiceRecord): string {
|
||||
if (service.command === 'admin') {
|
||||
return `admin -p${service.port} -s`;
|
||||
}
|
||||
|
||||
if (service.command === 'socks') {
|
||||
return `socks -p${service.port} -u2`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user