Skip to content

Commit

Permalink
fix: url is missing / at the beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
foxsofter committed Jun 4, 2024
1 parent 56839c3 commit 04df837
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 4.15.2
## 4.15.3

- fix: url is missing / at the beginning

Expand Down
2 changes: 2 additions & 0 deletions lib/src/navigator/navigator_route_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ extension NavigatorRouteSettings on RouteSettings {
// 补充 / 使其成为正常的 url
if (!u.startsWith('/')) {
_urlOf[this] = '/$u';
} else {
_urlOf[this] = u;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_thrio
description: Thrio makes it easy and fast to add flutter to existing mobile applications, and provide a simple and consistent navigator APIs.
version: 4.15.2
version: 4.15.3
homepage: https://github.com/flutter-thrio/flutter_thrio

environment:
Expand Down

0 comments on commit 04df837

Please sign in to comment.