import { getBaseURL } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";
Returns the current URL without any parameters.
Use String.prototype.indexOf()
to check if the given url
has parameters, String.prototype.slice()
to remove them if necessary.