diff --git a/graphexp.html b/graphexp.html
index 654423a..7ae324c 100644
--- a/graphexp.html
+++ b/graphexp.html
@@ -145,6 +145,7 @@
diff --git a/scripts/graphioGremlin.js b/scripts/graphioGremlin.js
index 6b73d65..2184ffa 100644
--- a/scripts/graphioGremlin.js
+++ b/scripts/graphioGremlin.js
@@ -227,6 +227,10 @@ var graphioGremlin = (function(){
let server_url = "ws://"+server_address+":"+server_port+"/gremlin"
run_websocket_request(gremlin_query,server_url,query_type,active_node,message,callback);
}
+ else if (COMMUNICATION_PROTOCOL == 'websockets'){
+ let server_url = "wss://"+server_address+":"+server_port+"/gremlin"
+ run_websocket_request(gremlin_query,server_url,query_type,active_node,message,callback);
+ }
else {
console.log('Bad communication protocol. Check configuration file. Accept "REST" or "websocket" .')
}