Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/fix voltron remote server url parse #3722

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions framework/voltron/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 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
2 changes: 1 addition & 1 deletion framework/voltron/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

name: voltron
description: A flutter plugin project to render hippy page.
version: 0.0.38
version: 0.0.39
homepage: https://hippyjs.org
repository: https://github.com/Tencent/Hippy

Expand Down
Loading