diff --git a/cmd/yukari/link_http_equiv_safe_values.go b/cmd/yukari/link_http_equiv_safe_values.go
deleted file mode 100644
index b63b1b8..0000000
--- a/cmd/yukari/link_http_equiv_safe_values.go
+++ /dev/null
@@ -1,9 +0,0 @@
-package main
-
-var LINK_HTTP_EQUIV_SAFE_VALUES [][]byte = [][]byte{
- // X-UA-Compatible will be added automaticaly, so it can be skipped
- []byte("date"),
- []byte("last-modified"),
- []byte("refresh"), // URL rewrite
- []byte("content-language"),
-}
diff --git a/cmd/yukari/main.go b/cmd/yukari/main.go
index 794960b..83e2f5f 100644
--- a/cmd/yukari/main.go
+++ b/cmd/yukari/main.go
@@ -873,7 +873,7 @@ func (p *Proxy) serveExitYukariPage(ctx *fasthttp.RequestCtx, uri *url.URL) {
ctx.SetContentType("text/html")
ctx.SetStatusCode(403)
ctx.Write([]byte(YUKARI_HTML_PAGE_START))
- ctx.Write([]byte("
You are about to exit YukariSukima
"))
+ ctx.Write([]byte("You are about to exit Yukari no Sukima
"))
ctx.Write([]byte("Following
"))
@@ -933,7 +933,7 @@ func main() {
config.Config.MaxConnsPerHost = 4
if version {
- fmt.Println(yukari.FullVersion())
+ yukari.FullVersion()
return
}
diff --git a/cmd/yukari/link_rel_safe_values.go b/cmd/yukari/safe_values.go
similarity index 54%
rename from cmd/yukari/link_rel_safe_values.go
rename to cmd/yukari/safe_values.go
index 902008c..b43dbd7 100644
--- a/cmd/yukari/link_rel_safe_values.go
+++ b/cmd/yukari/safe_values.go
@@ -1,5 +1,13 @@
package main
+var LINK_HTTP_EQUIV_SAFE_VALUES [][]byte = [][]byte{
+ // X-UA-Compatible will be added automaticaly, so it can be skipped
+ []byte("date"),
+ []byte("last-modified"),
+ []byte("refresh"), // URL rewrite
+ []byte("content-language"),
+}
+
var LINK_REL_SAFE_VALUES [][]byte = [][]byte{
[]byte("alternate"),
[]byte("archives"),