aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/Utils.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Utils.hx')
-rw-r--r--src/server/Utils.hx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/Utils.hx b/src/server/Utils.hx
index 218184d..ebe928b 100644
--- a/src/server/Utils.hx
+++ b/src/server/Utils.hx
@@ -1,12 +1,12 @@
package server;
-import js.node.Http;
+import js.node.Https;
import js.node.Os;
class Utils {
public static function getGlobalIp(callback:(ip:String)->Void):Void {
- Http.get("http://myexternalip.com/raw", r -> {
+ Https.get("https://myexternalip.com/raw", r -> {
r.setEncoding("utf8");
r.on("data", callback);
}).on("error", e -> {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage