File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed 
services/frontend/site/components/common/Navbar Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,16 @@ interface NavbarProps {
1616    links ?: Link [ ] 
1717} 
1818
19- const  authUrl  =  `${ process . env . NEXT_PUBLIC_AUTH_ROUTE }  :${ process . env . NEXT_PUBLIC_AUTH_PORT }  /email` 
20- const  dbmUrl  =  `${ process . env . NEXT_PUBLIC_DBM_ROUTE }  :${ process . env . NEXT_PUBLIC_DBM_PORT }  /get-item` 
19+ let  authUrl  =  `${ process . env . NEXT_PUBLIC_AUTH_ROUTE }  /email` 
20+ let  dbmUrl  =  `${ process . env . NEXT_PUBLIC_DBM_ROUTE }  /get-item` 
21+ 
22+ if  ( process . env . NEXT_PUBLIC_AUTH_PORT )  { 
23+     authUrl  =  `${ process . env . NEXT_PUBLIC_AUTH_ROUTE }  :${ process . env . NEXT_PUBLIC_AUTH_PORT }  /email` 
24+ } 
25+ 
26+ if  ( process . env . NEXT_PUBLIC_DBM_PORT )  { 
27+     dbmUrl  =  `${ process . env . NEXT_PUBLIC_DBM_ROUTE }  :${ process . env . NEXT_PUBLIC_DBM_PORT }  /get-item` 
28+ } 
2129
2230const  Navbar : FC < NavbarProps >  =  ( {  links } )  =>  { 
2331    // Set the input value from the form to state 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments