diff --git a/swarm/api/http/server_test.go b/swarm/api/http/server_test.go index 1de41d18d3..9df820ce4b 100644 --- a/swarm/api/http/server_test.go +++ b/swarm/api/http/server_test.go @@ -1043,7 +1043,7 @@ func TestGet(t *testing.T) { method: "GET", headers: map[string]string{"Accept": "text/html"}, expectedStatusCode: http.StatusOK, - assertResponseBody: "Swarm: Serverless Hosting Incentivised Peer-To-Peer Storage And Content Distribution", + assertResponseBody: "Swarm provides censorship resistant storage and communication infrastructure for a sovereign digital society", verbose: false, }, { diff --git a/swarm/api/http/templates.go b/swarm/api/http/templates.go index 986f5f8873..19c4040ca5 100644 --- a/swarm/api/http/templates.go +++ b/swarm/api/http/templates.go @@ -122,7 +122,7 @@ const errorResponse = `{{ define "content" }}
{{ end }}` @@ -155,10 +155,10 @@ function goToPage() { - + {{ end }}` const baseTemplate = ` @@ -177,7 +177,7 @@ const baseTemplate = ` ` -const css = `{{ define "css" }} +const css = `{{ define "css" }} html { font-size: 18px; font-size: 1.13rem; @@ -299,7 +299,7 @@ input[type=text]:focus { } {{ end }}` -const logo = `{{ define "logo" }} +const logo = `{{ define "logo" }} {{ end }}`