mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-11-04 00:10:57 +00:00 
			
		
		
		
	Fix: jsonrpchandler requires mappings (#3970)
This commit is contained in:
		
							parent
							
								
									8fa6454161
								
							
						
					
					
						commit
						52a4f1a423
					
				@ -4,6 +4,12 @@ const widget = {
 | 
			
		||||
  api: "{url}/jsonrpc",
 | 
			
		||||
  proxyHandler: jsonrpcProxyHandler,
 | 
			
		||||
  allowedEndpoints: /status/,
 | 
			
		||||
 | 
			
		||||
  mappings: {
 | 
			
		||||
    status: {
 | 
			
		||||
      endpoint: "status",
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export default widget;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user