-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serve http response for subdomain not found and client not online
- Loading branch information
Showing
5 changed files
with
59 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package utils | ||
|
||
const LocalServerNotOnline = ` | ||
HTTP/1.1 400 Bad Request | ||
Content-Type: text/html; charset=utf-8 | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Localport</title> | ||
</head> | ||
<body> | ||
<h1>Your local server is not online</h1> | ||
<h2>Try again after starting the server</h2> | ||
</body> | ||
</html>` | ||
|
||
const UnregisteredSubdomain = ` | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Localport</title> | ||
</head> | ||
<body> | ||
<h1>There is no tunnel running on this endpoint</h1> | ||
</body> | ||
</html>` |