From cf38a3dc654adacf23e6b3bc4f74d629d19bd19f Mon Sep 17 00:00:00 2001 From: Rafael Matias Date: Wed, 29 May 2019 00:14:24 +0200 Subject: [PATCH] swarm/api: update mission statement (#19612) --- swarm/api/http/server_test.go | 2 +- swarm/api/http/templates.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/swarm/api/http/server_test.go b/swarm/api/http/server_test.go index 1de41d18d..9df820ce4 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 986f5f887..19c4040ca 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 }}`