diff --git a/botanss b/botanss index f3ba7a4..cbf2246 160000 --- a/botanss +++ b/botanss @@ -1 +1 @@ -Subproject commit f3ba7a4a2df12fa280081264a5bb907480cddc93 +Subproject commit cbf2246b523f647e6a44abe2f76fbace4c2dbb47 diff --git a/index.js b/index.js index 83466d6..aa4d705 100755 --- a/index.js +++ b/index.js @@ -47,7 +47,7 @@ else Dragonfly = new Dragonfly(); global.Dragonfly = Dragonfly; - GLOBAL.X_SERVER_CLUSTER = cluster; + global.X_SERVER_CLUSTER = cluster; var AppDomain = cl.load( "botanss.net.AppDomain" ); var Httph = cl.load( "botanss.net.Http" ); diff --git a/notify-term/WNSAuth.js b/notify-term/WNSAuth.js index f7c70df..bbaba80 100644 --- a/notify-term/WNSAuth.js +++ b/notify-term/WNSAuth.js @@ -73,6 +73,8 @@ class WNSAuth extends EventEmitter uuid = Rand.uuid(); + Dragonfly.Debug( "ChannelUri: " + ChannelUri ); + _self.__send( ChannelUri, N, ( sender, e ) => { if( typeof( e ) == "string" ) @@ -87,6 +89,7 @@ class WNSAuth extends EventEmitter return; } + Dragonfly.Debug( e.statusCode + ": " + e.ResponseString ); handler( _self, e.statusCode + " Server Error: Unable to push message to channel" ); } ); }; @@ -245,6 +248,7 @@ class WNSAuth extends EventEmitter AuthToken = JResponse.access_token; Dragonfly.Info( "Authorization Success" ); + Dragonfly.Debug( AuthTokenName + ": " + AuthToken ); Model.Tokens .update( { name: AuthTokenName } diff --git a/notify-term/app.js b/notify-term/app.js index 4423f29..8982d83 100644 --- a/notify-term/app.js +++ b/notify-term/app.js @@ -20,7 +20,7 @@ class App extends Base // Everything here is plain text this.HTTP.response.headers[ "Content-Type" ] = "text/plain; charset=utf-8"; - this.result = "Hello there! This is a notify-term server.\nFor more information please head to https://github.com/tgckpg/notify-term"; + this.result = "Hello there! This is a notify-term server.\nFor more information please head to https://github.com/tgckpg/term-notify"; if( !this.HTTP.request.isPost ) {