summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2014-07-12 23:55:35 +0000
committerreyk <reyk@openbsd.org>2014-07-12 23:55:35 +0000
commitf687442bc188b667ecf8dde95396113e2c60cd82 (patch)
tree30905b0f95aca6e41789d6363db3083ac3ce11b3
parent- remove CONSPEED from libsa.h (diff)
downloadwireguard-openbsd-f687442bc188b667ecf8dde95396113e2c60cd82.tar.xz
wireguard-openbsd-f687442bc188b667ecf8dde95396113e2c60cd82.zip
Use Comic Sans (or Chalkboard) as the default font for HTTP error
messages because we love web hipsters. ok beck@
-rw-r--r--usr.sbin/httpd/server_http.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/httpd/server_http.c b/usr.sbin/httpd/server_http.c
index bf5dcb782b6..9a956c98144 100644
--- a/usr.sbin/httpd/server_http.c
+++ b/usr.sbin/httpd/server_http.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server_http.c,v 1.1 2014/07/12 23:34:54 reyk Exp $ */
+/* $OpenBSD: server_http.c,v 1.2 2014/07/12 23:55:35 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -549,7 +549,8 @@ server_abort_http(struct client *clt, u_int code, const char *msg)
text = msg;
/* A CSS stylesheet allows minimal customization by the user */
- style = "body { background-color: white; color: black; }";
+ style = "body { background-color: white; color: black; font-family: "
+ "'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; }";
/* Generate simple HTTP+HTML error document */
if (asprintf(&httpmsg,