From ad658306ce9a6fa7fbec6efb9da9c139de576b04 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 31 Dec 2023 06:50:32 +0100 Subject: Embedded robots.txt --- main.go | 3 +-- robots.txt | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 robots.txt diff --git a/main.go b/main.go index 51ef34c..73de3e1 100644 --- a/main.go +++ b/main.go @@ -12,8 +12,7 @@ import ( "github.com/gorilla/mux" ) -//go:embed *.js -//go:embed *.in +//go:embed *.js *.in robots.txt var content embed.FS func handleEntryOptions(w http.ResponseWriter, r *http.Request) { diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..a4751e2 --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: * -- cgit v1.1