about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-22 16:29:58 +0100
committerEmile <hanemile@protonmail.com>2020-03-22 16:29:58 +0100
commit0ba69fef0b58ffef1e84198078471fe6a20d7394 (patch)
tree1e508ef11406aa84ecf4837b53777a27adcb4cd0
parent89ca374183fcf7757a44a5a3ed5de2589a7bc218 (diff)
fixed spelling mistakes
-rw-r--r--src/http/http.go6
1 files changed, 3 insertions, 3 deletions
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