Skip to content

Commit

Permalink
Fix remoting related issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
back2dos committed Jun 26, 2018
1 parent 11ab691 commit baf254b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions haxe_libraries/lix.client.hxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
-D lix.client

#-lib switchx
-lib haxeshim
-lib tink_semver
-lib tink_web
Expand All @@ -9,4 +8,6 @@
-lib hxnodejs
-lib tink_lang

-cp src
-cp src
-cp patch
# ... because hxnodejs \o/
4 changes: 2 additions & 2 deletions patch/haxe/Http.hx
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ class Http {

var params = params.toString();


(switch url.scheme {
case 'https':
js.node.Https.request;
default:
js.node.Http.request;
})(
{
host: url.host,
hostname: url.host.name,
port: url.host.port,
protocol: url.scheme + ':',
method: if (post) 'POST' else 'GET',
path: url.pathWithQuery + switch [params, post] {
Expand Down

0 comments on commit baf254b

Please sign in to comment.