mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-23 17:09:40 +00:00
commit
4a8578ee85
1 changed files with 1 additions and 1 deletions
|
|
@ -864,7 +864,7 @@ class _NetworkState extends State<_Network> with AutomaticKeepAliveClientMixin {
|
|||
}
|
||||
}
|
||||
if (apiServer.isNotEmpty) {
|
||||
if (!apiServer.startsWith('http://') ||
|
||||
if (!apiServer.startsWith('http://') &&
|
||||
!apiServer.startsWith('https://')) {
|
||||
apiErrMsg.value =
|
||||
'${translate("API Server")}: ${translate("invalid_http")}';
|
||||
|
|
|
|||
Loading…
Reference in a new issue