Set Node.js Environment Variable (NODE_ENV) in iisnode to Production/Development/Test

后端 未结 2 1356
既然无缘
既然无缘 2021-02-04 04:21

How do we tell iisnode to run our Node.js application environment in production/development/test?

We have successfully gotten our Node.js app running with iisnode but

2条回答
  •  抹茶落季
    2021-02-04 05:14

    For the sake of clarity the web.config file would look like this:

    
      
    
        
          
        
    
        
          
            
              
              
            
          
        
    
        
          
            
              
            
          
            
    
                    <=== Add env required here
      
     
    

提交回复
热议问题