mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-03 21:43:18 +00:00 
			
		
		
		
	xo: Fix unicorn/template-indent.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		@@ -19,7 +19,8 @@ export async function openBrowser(url: URL): Promise<void> {
 | 
			
		||||
    const file = path.join(dir, "redirect.html");
 | 
			
		||||
    fs.writeFileSync(
 | 
			
		||||
      file,
 | 
			
		||||
      html`<!DOCTYPE html>
 | 
			
		||||
      html`
 | 
			
		||||
        <!DOCTYPE html>
 | 
			
		||||
        <html>
 | 
			
		||||
          <head>
 | 
			
		||||
            <meta charset="UTF-8" />
 | 
			
		||||
@@ -34,7 +35,8 @@ export async function openBrowser(url: URL): Promise<void> {
 | 
			
		||||
          <body>
 | 
			
		||||
            <p>Opening <a href="${url.href}">${url.href}</a>…</p>
 | 
			
		||||
          </body>
 | 
			
		||||
        </html> `.html,
 | 
			
		||||
        </html>
 | 
			
		||||
      `.html,
 | 
			
		||||
    );
 | 
			
		||||
    await shell.openPath(file);
 | 
			
		||||
    setTimeout(() => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user