This commit is contained in:
		
							parent
							
								
									5b7b8503cd
								
							
						
					
					
						commit
						00738b90c2
					
				|  | @ -171,10 +171,12 @@ export class ApDbResolverService implements OnApplicationShutdown { | |||
| 			keys.find(x => { | ||||
| 				try { | ||||
| 					const url = new URL(x.keyId); | ||||
| 					if ( | ||||
| 						url.hash.toLowerCase().includes('main') || | ||||
| 						url.pathname.split('/').pop()?.toLowerCase().includes('main') | ||||
| 					) { | ||||
| 					const path = url.pathname.split('/').pop()?.toLowerCase(); | ||||
| 					if (url.hash) { | ||||
| 						if (url.hash.toLowerCase().includes('main')) { | ||||
| 							return true; | ||||
| 						} | ||||
| 					} else if (path?.includes('main') || path === 'publickey') { | ||||
| 						return true; | ||||
| 					} | ||||
| 				} catch { /* noop */ } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue