mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-12-06 16:38:08 +00:00
Extract robots.txt into a file, simplify MIMEs
This commit is contained in:
6
static/robots.txt
Normal file
6
static/robots.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
User-agent: *
|
||||
Allow: /page/
|
||||
Allow: /hypha/
|
||||
Allow: /recent-changes
|
||||
Disallow: /
|
||||
Crawl-delay: 5
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
//go:embed *.css *.js icon
|
||||
//go:embed *.css *.js *.txt icon
|
||||
var embedFS embed.FS
|
||||
|
||||
// FS serves all static files.
|
||||
|
||||
Reference in New Issue
Block a user