in cleanup url instance host is now changed to lowercase letters.
This commit is contained in:
parent
460b4f3c8a
commit
0aa4d9c592
|
@ -1,6 +1,6 @@
|
|||
/// Strips protocol, 'www.', and trailing '/' from [url] aka. cleans it up
|
||||
String cleanUpUrl(String url) {
|
||||
var newUrl = url;
|
||||
var newUrl = url.toLowerCase();
|
||||
|
||||
if (newUrl.startsWith('https://')) {
|
||||
newUrl = newUrl.substring(8);
|
||||
|
|
Loading…
Reference in New Issue