File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ export class Config {
1818 public static reload ( ) : void {
1919 Config . getversion ( ) ;
2020 Config . logpath = Config . getEnv ( "logpath" , __dirname ) ;
21+ Config . log_queries = Config . parseBoolean ( Config . getEnv ( "log_queries" , "false" ) ) ;
22+ Config . getting_started_url = Config . getEnv ( "getting_started_url" , "" ) ;
2123
2224 Config . NODE_ENV = Config . getEnv ( "NODE_ENV" , "development" ) ;
2325
@@ -84,7 +86,7 @@ export class Config {
8486 public static version : string = Config . getversion ( ) ;
8587 public static logpath : string = Config . getEnv ( "logpath" , __dirname ) ;
8688 public static log_queries : boolean = Config . parseBoolean ( Config . getEnv ( "log_queries" , "false" ) ) ;
87-
89+ public static getting_started_url : string = Config . getEnv ( "getting_started_url" , "" ) ;
8890
8991 public static NODE_ENV : string = Config . getEnv ( "NODE_ENV" , "development" ) ;
9092
Original file line number Diff line number Diff line change @@ -261,7 +261,8 @@ export class LoginProvider {
261261 nodered_domain_schema : Config . nodered_domain_schema ,
262262 websocket_package_size : Config . websocket_package_size ,
263263 version : Config . version ,
264- stripe_api_key : Config . stripe_api_key
264+ stripe_api_key : Config . stripe_api_key ,
265+ getting_started_url : Config . getting_started_url ,
265266 }
266267 res . end ( JSON . stringify ( res2 ) ) ;
267268 } ) ;
You can’t perform that action at this time.
0 commit comments