29 lines
		
	
	
		
			950 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			950 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html>
 | 
						|
<head>
 | 
						|
  <!--meta http-equiv="refresh" content="5;url=https://' + tokenData.domains.join(',') + '/?serviceport=' + tokenData.ports.join(',')" /-->
 | 
						|
</head>
 | 
						|
<body>
 | 
						|
  <script>document.body.hidden = true;</script>
 | 
						|
 | 
						|
  <div class="js-error" hidden>
 | 
						|
    <h1>Invalid Magic Link</h1>
 | 
						|
    <div class="js-magic-link">'{{magic_link}}' isn't a valid magic link code.
 | 
						|
      <br>Links are only good for 5 minutes, so you gotta act fast.
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
 | 
						|
  <div class="js-magic" hidden>
 | 
						|
    <h1>Give us about 30 seconds...</h1>
 | 
						|
    We're initializing our connection, redirecting you to your device at
 | 
						|
    <a class="js-new-href">{{js-new-href}}</a>
 | 
						|
    which will then take a few seconds to initialize as it gets your https certificates for peer-to-peer, end-to-end encryption
 | 
						|
    <br>
 | 
						|
    <br>
 | 
						|
    <small><pre><code class="js-token-data">{{js-token-data}}</code></pre></small>
 | 
						|
  </div>
 | 
						|
 | 
						|
  <script src="js/app.js"></script>
 | 
						|
</body>
 | 
						|
</html>
 |