From 0ba69fef0b58ffef1e84198078471fe6a20d7394 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 22 Mar 2020 16:29:58 +0100 Subject: fixed spelling mistakes --- src/http/http.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/http/http.go b/src/http/http.go index db7ff91..eb5616b 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -232,7 +232,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) { // Hash the file using the salt defined in the config making is // possible to give the file to the /view handler without an // interception being possible. - // The salted file name is hashed again on the reciever side + // The salted file name is hashed again on the receiver side // making sure that the file to be downloaded is really the file // specified. // Overall: this makes sure that only we can provide files that @@ -274,7 +274,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) { // Set the site's title to the title defined in the config content["SiteTitle"] = viper.GetString("server.name") - // if we're not at the root, we can still go futher down + // if we're not at the root, we can still go further down if r.RequestURI != "/" { content["CanGoUp"] = "true" } @@ -330,7 +330,7 @@ func breadcrumbs(r *http.Request) structs.Breadcrumbs { } // filter filters files returning true if they should be displayed and false if -// not. The descision is made using the hide config from the config file +// not. The decision is made using the hide config from the config file func filterIsValid(name string) bool { // hide files starting with a dot if the "hide.file" directive is set -- cgit 1.4.1