diff --git a/implement/elm-fullstack/Program.cs b/implement/elm-fullstack/Program.cs index c5fe6d9f..d586b9ab 100644 --- a/implement/elm-fullstack/Program.cs +++ b/implement/elm-fullstack/Program.cs @@ -1091,6 +1091,9 @@ static Uri MapUriForDefaultPort(string uriString, int defaultPort) static bool LooksLikeLocalSite(string site) { + if (site.StartsWith(".") || site.StartsWith("/")) + return true; + if (Regex.IsMatch(site, "^http(|s)://", RegexOptions.IgnoreCase)) return false;