Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
obfs4portscan
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Legacy
gitolite
user
phw
obfs4portscan
Commits
b1c72fab
Commit
b1c72fab
authored
5 years ago
by
Nima Fatemi
Browse files
Options
Downloads
Patches
Plain Diff
Bumping to HTML5 & adding device friendly meta tag
Because why not :)
parent
2fa70b89
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
html.go
+9
-9
9 additions, 9 deletions
html.go
with
9 additions
and
9 deletions
html.go
+
9
−
9
View file @
b1c72fab
...
...
@@ -6,12 +6,12 @@ import (
// IndexPage contains the landing page of the service. It implements a simple
// form that asks for an IP address and TCP port.
var
IndexPage
=
`<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
var
IndexPage
=
`<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Test your obfs4 bridge’s TCP port</title>
</head>
...
...
@@ -34,12 +34,12 @@ var IndexPage = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
`
// SuccessPage is shown when the given address and port are reachable.
var
SuccessPage
=
`<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
var
SuccessPage
=
`<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Success!</title>
</head>
...
...
@@ -55,12 +55,12 @@ var SuccessPage = `<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
// FailurePage2 is shown when the given address and port are unreachable.
func
FailurePage
(
reason
error
)
string
{
var
failurePage1
=
`<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
var
failurePage1
=
`<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Failure!</title>
</head>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment