Add new proxy config for staging
This commit is contained in:
		
							parent
							
								
									c20ec2ac81
								
							
						
					
					
						commit
						1c29c1b44a
					
				
							
								
								
									
										11
									
								
								frontend/proxy.conf.staging.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								frontend/proxy.conf.staging.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
			
		||||
const fs = require('fs');
 | 
			
		||||
 | 
			
		||||
let PROXY_CONFIG = require('./proxy.conf');
 | 
			
		||||
 | 
			
		||||
PROXY_CONFIG.forEach(entry => {
 | 
			
		||||
  entry.target = entry.target.replace("mempool.space", "mempool.ninja");
 | 
			
		||||
  entry.target = entry.target.replace("liquid.network", "liquid.place");
 | 
			
		||||
  entry.target = entry.target.replace("bisq.markets", "bisq.ninja");
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
module.exports = PROXY_CONFIG;
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user