aboutsummaryrefslogtreecommitdiff
path: root/handler.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-08-24 05:21:48 +0000
committerFuwn <[email protected]>2021-08-24 05:21:48 +0000
commit38349a3c68ecfc8ec7b948d7cfa933edba4dd805 (patch)
treecf257d2823dc2b53f7b7e221d7731a0138620210 /handler.go
parentfeat(handler): redirect /x/* requests to /proxy (diff)
parentchore(index): minor wording changes (diff)
downloadspace-38349a3c68ecfc8ec7b948d7cfa933edba4dd805.tar.xz
space-38349a3c68ecfc8ec7b948d7cfa933edba4dd805.zip
Merge branch 'main' of https://github.com/fuwn/space
Diffstat (limited to 'handler.go')
-rw-r--r--handler.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/handler.go b/handler.go
index 2975b0f..99a7a2f 100644
--- a/handler.go
+++ b/handler.go
@@ -31,6 +31,8 @@ func errors() {
func meta() {
createFileRoute("/favicon.txt", "favicon.txt")
+ createFileRoute("/favicon.ico", "favicon.ico")
+ createFileRoute("/robots.txt", "robots.txt")
}
func redirect() {