Browse Source

new codebase

Nikolay Suslov 4 years ago
parent
commit
e7fa7c2c6b
1 changed files with 4 additions and 4 deletions
  1. 4 4
      lib/reflector.js

+ 4 - 4
lib/reflector.js

@@ -290,7 +290,7 @@ function OnConnection( socket ) {
     
                 socket.emit( 'message', { 
                     action: "createNode", 
-                    parameters: [ "http://vwf.example.com/clients.vwf" ], 
+                    parameters: [ "proxy/clients.vwf" ], 
                     time: global.instances[ namespace ].getTime( ) 
                 } );
     
@@ -327,7 +327,7 @@ function OnConnection( socket ) {
         //Create a child in the application's 'clients.vwf' global to represent this client.
         var clientNodeMessage = {
             action: "createChild",
-            parameters: [ "http://vwf.example.com/clients.vwf", socket.id, clientDescriptor ],
+            parameters: [ "proxy/clients.vwf", socket.id, clientDescriptor ],
             time: global.instances[ namespace ].getTime( )
         };
     
@@ -426,7 +426,7 @@ function OnConnection( socket ) {
         }
 
         // Notify others of the disconnecting client.  Delete the child representing this client in the application's `clients.vwf` global.
-        var clientMessage = { action: "deleteChild", parameters: [ "http://vwf.example.com/clients.vwf", socket.id ], time: global.instances[ namespace ].getTime( ) };
+        var clientMessage = { action: "deleteChild", parameters: [ "proxy/clients.vwf", socket.id ], time: global.instances[ namespace ].getTime( ) };
         for ( var i in global.instances[ namespace ].clients ) {
             var client = global.instances[ namespace ].clients[ i ];
             if ( ! client.pending ) {
@@ -508,7 +508,7 @@ function GetClientDescriptor( socket ) {
     // Set the default prototype.
 
     if ( ! descriptor.extends ) {
-        descriptor.extends = "http://vwf.example.com/client.vwf";
+        descriptor.extends = "proxy/client.vwf";
     }
 
     return descriptor;