Merge branch 'master' of github.com:webmin/webmin

This commit is contained in:
Jamie Cameron
2022-01-11 20:39:11 -08:00

10
servers/index-json.cgi Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/local/bin/perl
# Return a list of other Webmin servers as JSON
use strict;
use warnings;
require './servers-lib.pl';
# Get servers and apply search
my @servers = &list_servers_sorted(1);
print_json(\@servers);