File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,16 @@ sub unsecure_port
330330   return  $self -> {ports }{monolith_unsecure };
331331}
332332
333+ sub  public_baseurl 
334+ {
335+     my  $self  = shift ;
336+     #  run-tests.pl defines whether TLS should be used or not.
337+     my  ( $want_tls  ) = @_ ;
338+     return  $want_tls  ?
339+        " https://$self ->{bind_host}:" $self -> secure_port() :
340+        " http://$self ->{bind_host}:" $self -> unsecure_port();
341+  }
342+ 
333343sub  start 
334344{
335345   my  $self  = shift ;
Original file line number Diff line number Diff line change @@ -78,6 +78,16 @@ sub unsecure_port
7878   return  $self -> {unsecure_port };
7979}
8080
81+ sub  public_baseurl 
82+ {
83+     my  $self  = shift ;
84+     #  run-tests.pl defines whether TLS should be used or not.
85+     my  ( $want_tls  ) = @_ ;
86+     return  $want_tls  ?
87+        " https://$self ->{bind_host}:" $self -> secure_port() :
88+        " http://$self ->{bind_host}:" $self -> unsecure_port();
89+  }
90+ 
8191sub  start 
8292{
8393   my  $self  = shift ;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments