Skip to content

Commit

Permalink
remove www. check
Browse files Browse the repository at this point in the history
breaks usage of subdomains like https://testdomain.plentymarkets.com
  • Loading branch information
daniel-mannheimer authored Aug 29, 2019
1 parent cdcd90c commit c101c05
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/PlentymarketsRestClient/PlentymarketsRestClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ private function correctURL($url)
$url = str_replace('http://', 'https://.', $url);
}

if (!($sUrl->contains('www.'))) {
$url = str_replace('https://', 'https://www.', $url);
}

$url = rtrim($url, '/') . '/';

return $url;
Expand Down

0 comments on commit c101c05

Please sign in to comment.