Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-05 19:04:21 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-04-05 19:04:21 +0300
commitb0ac2a7d3f7c48702120de4910cde34b7aee7bdd (patch)
treea8aaad3f80b5dcf51f2d3e8905d5da1172784c07 /app.go
parent5c830cca6dee4ad6f0025dda14fa345bb677e38c (diff)
Fix: Content-Type of predefined 404 pagev0.2.2
Diffstat (limited to 'app.go')
-rw-r--r--app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.go b/app.go
index 4c690845..aa0438ff 100644
--- a/app.go
+++ b/app.go
@@ -56,7 +56,7 @@ func (a *theApp) serveContent(ww http.ResponseWriter, r *http.Request, https boo
domain := a.domain(r.Host)
if domain == nil {
- http.NotFound(&w, r)
+ serve404(&w)
return
}