summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go3
-rw-r--r--robots.txt2
2 files changed, 3 insertions, 2 deletions
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: *