Skip to content

Commit

Permalink
Merge branch 'fix/fix_voltron_remote_server_url_parse' into fix/fix_v…
Browse files Browse the repository at this point in the history
…oltron_http_dio_null

# Conflicts:
#	framework/voltron/CHANGELOG.md
#	framework/voltron/pubspec.yaml
  • Loading branch information
lvfen committed Jul 23, 2024
2 parents 34ddd45 + 9a216a3 commit 1dbb63c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions framework/voltron/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

-resolve dio error data is null

## 0.0.39

- resolve remoteServerUrl connect without '/'

## 0.0.38

- resolve remoteServerUrl parse version id failed
Expand Down
2 changes: 1 addition & 1 deletion framework/voltron/lib/inspector/dev_server_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class DevServerHelper {
bool jsMinify,
) {
if (_remoteServerData.isValid()) {
return "${_remoteServerData.getScheme()}://${_remoteServerData.getHost()}${_remoteServerData.getPath()}?dev=$devMode&hot=$hmr&minify=$jsMinify";
return "${_remoteServerData.getScheme()}://${_remoteServerData.getHost()}/${_remoteServerData.getPath()}?dev=$devMode&hot=$hmr&minify=$jsMinify";
}
return "http://$host/$bundleName?dev=$devMode&hot=$hmr&minify=$jsMinify";
}
Expand Down

0 comments on commit 1dbb63c

Please sign in to comment.