http to https to avoid blocked requests (#833)
This commit is contained in:
		
							parent
							
								
									96be4e8992
								
							
						
					
					
						commit
						1208694d2d
					
				|  | @ -17,7 +17,7 @@ export function embedContractCode(contract: Contract) { | |||
| 
 | ||||
| export function embedContractGridCode(contracts: Contract[]) { | ||||
|   const height = (contracts.length - (contracts.length % 2)) * 100 + 'px' | ||||
|   const src = `http://${DOMAIN}/embed/grid/${contracts | ||||
|   const src = `https://${DOMAIN}/embed/grid/${contracts | ||||
|     .map((c) => c.slug) | ||||
|     .join('/')}` | ||||
|   return `<iframe height="${height}" src="${src}" title="Grid of contracts" frameborder="0"></iframe>` | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user