File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11; ( function ( window ) {
22 'use strict' ;
33
4+ const ENVIRONMENT = 'development' ; // 'development' | 'production'
5+
46 const MESSAGES = {
57 'login' : 'Login as any user on this computer and another user on another computer.' ,
68 'create_session' : 'Creating a session...' ,
8587 window . CONFIG = {
8688 'CREDENTIALS' : creds ,
8789 'APP_CONFIG' : config ,
88- 'MESSAGES' : MESSAGES
90+ 'MESSAGES' : MESSAGES ,
91+ 'ENVIRONMENT' : ENVIRONMENT ,
8992 } ;
9093} ( window ) ) ;
Original file line number Diff line number Diff line change 13411341 var params = {
13421342 notification_type : 'push' ,
13431343 user : { ids : opponentsIDsNumbers } ,
1344- environment : 'development' , // environment, can be 'production' as well.
1344+ environment : CONFIG . ENVIRONMENT , // environment, can be 'production' as well.
13451345 message : QB . pushnotifications . base64Encode (
13461346 JSON . stringify ( pushPayload )
13471347 )
You can’t perform that action at this time.
0 commit comments