Fix url parser

This commit is contained in:
problematicconsumer
2023-08-26 16:26:32 +03:30
parent d429735a45
commit f393020a31
2 changed files with 3 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ class ProfilesRepositoryImpl
return TaskEither(
() async {
final path = filesEditor.configPath(fileName);
final response = await dio.download(url, path);
final response = await dio.download(url.trim(), path);
final parseResult = await singbox.parseConfig(path).run();
return parseResult.fold(
(l) async {