diff --git a/assets/sitemap.txt b/assets/sitemap.txt new file mode 100644 index 0000000..e3bcbed --- /dev/null +++ b/assets/sitemap.txt @@ -0,0 +1,3 @@ +https://viddl.cc +https://viddl.cc/robots.txt + diff --git a/main.go b/main.go index d88350a..c6d08a3 100644 --- a/main.go +++ b/main.go @@ -126,6 +126,7 @@ func init() { log.Println("[ init ] Starting...") templates = template.Must(template.ParseFS(TemplatesFS , "templates/*.html")) log.Println("[ init ] Templates Loaded") + log.Println(AssetsFS.ReadDir("assets")) } diff --git a/static/robots.txt b/static/robots.txt index 2370031..23150bd 100644 --- a/static/robots.txt +++ b/static/robots.txt @@ -1 +1,5 @@ # Go carzy + +User-agent: * +Sitemap: https://viddl.cc/sitemap.txt +