getLinkPrefix function
Implementation
String getLinkPrefix(String hostname, String domain) {
final encodedHostname = Uri.encodeComponent(hostname);
final encodedDomain = Uri.encodeComponent(domain);
return '$machinePage$encodedHostname/$encodedDomain/';
}