diff --git a/README.md b/README.md index 98de361..de542bf 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ # up -> Current version: `up v.0.1.4 (Pre-Alpha)` +> Current version: `up v.0.1.5 (Pre-Alpha)` > Notes: `up` has landed in pre-alpha! 🎉 Changelog will be added from `up v.0.2.0` [(Alpha/MVP)](Roadmap.md)\ > ⚠️ ❌ `up` is still not ready for use yet! Do not attempt to use this in development or production until alpha! diff --git a/index.js b/index.js index 872a2e6..cad090e 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,7 @@ program outPort = outPort || "80"; // This is a string because regex needs to validate it. if (!validate(domain, outPort)) return; //Validates domain and outport, and if invalid, throws and returns. createStaticServer(domain, outPort); + if (outPort != "80") domain = domain + ":" + outPort; console.log("Done! Your static server has been set up!\nPoint your domain to this server and check " + chalk.cyan(domain) + " to verify!"); }); @@ -36,6 +37,7 @@ program outPort = outPort || "80"; // This is a string because regex needs to validate it. if (!validate(domain, inPort, outPort)) return; createProxyServer(domain, inPort, outPort); + if (outPort != "80") domain = domain + ":" + outPort; console.log("Done! Your reverse proxy server has been set up!\nPoint your domain to this server and check " + chalk.cyan(domain) + " to verify!"); });