'use strict'; const ReverseProxy = require("./ReverseProxy"); /*/ Test GetPath [ "https://localhost/health", "http://12/health", "localhost/health", "ws://websocket/path?key=value", "ssh://hello:22/" ].forEach(url => { console.log(`'${url}' => '${ReverseProxy.GetPath(url)}'`) })//*/ ReverseProxy.Start() /*/ Test host resolution .then(instance => { ["kavemans.dev", "localhost"].forEach(host => { console.log(`'${host}' => '${instance.TryResolveInternalHost(host)}'`); }); });//*/