Skip to content

Instantly share code, notes, and snippets.

@ianloic
Created February 26, 2019 17:35
Show Gist options
  • Save ianloic/ca2455e7ce4489bdf0663451d8acc89b to your computer and use it in GitHub Desktop.
Save ianloic/ca2455e7ce4489bdf0663451d8acc89b to your computer and use it in GitHub Desktop.
error.html
<html>
<head>
<title>No Tunnel</title>
</head>
<body>
<h1>No Tunnel</h1>
<p>There is no tunnel configured for <i><script>document.write(location.host)</script></i>...</p>
<p>Create a tunnel with:
<code>
tunnel <script>document.write(location.host.replace(/\..*/, ''))</script> PORT
</code><br>
where <code>PORT</code> is the port of a local web server.
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment