THRIFT-2355 Add SSL and Web Socket Support to Node and JavaScript
Patch: Randy Abernethy
diff --git a/lib/js/test/server_http.js b/lib/js/test/server_http.js
index 623a979..01174bc 100644
--- a/lib/js/test/server_http.js
+++ b/lib/js/test/server_http.js
@@ -39,14 +39,14 @@
 	handler: ThriftTestHandler

 };

 

-var StaticHttpThriftServerOptions = {

+var ThriftWebServerOptions = {

 	staticFilePath: ".",

 	services: {

 		"/service": ThriftTestSvcOpt

 	}

 };

 

-var server = thrift.createStaticHttpThriftServer(StaticHttpThriftServerOptions);

+var server = thrift.createWebServer(ThriftWebServerOptions);

 var port = 8088;

 server.listen(port);

 console.log("Serving files from: " + __dirname);