Fix default config path
This commit is contained in:
		
							parent
							
								
									a35c8be25c
								
							
						
					
					
						commit
						e9e507af69
					
				@ -1,7 +1,7 @@
 | 
				
			|||||||
const fs = require('fs');
 | 
					const fs = require('fs');
 | 
				
			||||||
const path = require('path');
 | 
					const path = require('path');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const configPath = process.env.UNFURLER_CONFIG || '../config.json';
 | 
					const configPath = process.env.UNFURLER_CONFIG || './config.json';
 | 
				
			||||||
const absolutePath = path.resolve(configPath);
 | 
					const absolutePath = path.resolve(configPath);
 | 
				
			||||||
let config;
 | 
					let config;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user