Skip to content

Commit a949352

Browse files
cfiorillojpnurmi
authored andcommitted
[package_info_plus_web] Fix double slash in version.json lookup
1 parent 89fc91f commit a949352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/package_info_plus_web/lib/package_info_plus_web.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class PackageInfoPlugin extends PackageInfoPlatform {
1818
@override
1919
Future<PackageInfoData> getAll() async {
2020
final url =
21-
'${Uri.parse(window.document.baseUri).removeFragment()}/version.json';
21+
'${Uri.parse(window.document.baseUri).removeFragment()}version.json';
2222

2323
final response = await get(url);
2424
if (response.statusCode == 200) {

0 commit comments

Comments
 (0)