about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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