merge 1.9.5 fixes (#1637)
retry loading profile if initial load fails, follow-up to #1604 - Add missing setTimeout to retry profile loading bump RWP to 1.8.15
This commit is contained in:
		
							parent
							
								
									00ced6dd6b
								
							
						
					
					
						commit
						86311ab4ea
					
				| @ -70,7 +70,7 @@ allow_dupe_invites: "0" | ||||
| invite_expire_seconds: 604800 | ||||
| 
 | ||||
| # base url for replayweb.page | ||||
| rwp_base_url: "https://cdn.jsdelivr.net/npm/replaywebpage@1.8.12/" | ||||
| rwp_base_url: "https://cdn.jsdelivr.net/npm/replaywebpage@1.8.15/" | ||||
| 
 | ||||
| superuser: | ||||
|   # set this to enable a superuser admin | ||||
|  | ||||
| @ -307,6 +307,10 @@ export class ProfileBrowser extends LiteElement { | ||||
|       try { | ||||
|         const resp = await fetch(result.url, { method: "HEAD" }); | ||||
|         if (!resp.ok) { | ||||
|           this.pollTimerId = window.setTimeout( | ||||
|             () => void this.checkBrowserStatus(), | ||||
|             POLL_INTERVAL_SECONDS * 1000, | ||||
|           ); | ||||
|           return; | ||||
|         } | ||||
|       } catch (e) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user