mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 00:10:57 +00:00 
			
		
		
		
	Refactor API host to be parametrized
This commit is contained in:
		
							parent
							
								
									009b13817a
								
							
						
					
					
						commit
						bf2f527f76
					
				@ -1,7 +1,7 @@
 | 
				
			|||||||
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
 | 
					import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const widget = {
 | 
					const widget = {
 | 
				
			||||||
  api: "https://healthchecks.io/api/v2/{endpoint}/{uuid}",
 | 
					  api: "{url}/api/v2/{endpoint}/{uuid}",
 | 
				
			||||||
  proxyHandler: credentialedProxyHandler,
 | 
					  proxyHandler: credentialedProxyHandler,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  mappings: {
 | 
					  mappings: {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user