From d7389122742aad7e65becdff2bb598fa7f19e0ff Mon Sep 17 00:00:00 2001 From: NielsAD Date: Wed, 12 Sep 2018 16:36:27 +0200 Subject: [PATCH] Fix google indexing --- public/robots.txt | 1 - public/script.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/public/robots.txt b/public/robots.txt index 8b20c47..d872a8b 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,4 +1,3 @@ User-agent: * Disallow: /dl/ -Disallow: /idx/ Sitemap: /urllist.txt diff --git a/public/script.js b/public/script.js index 8978490..22f73bb 100644 --- a/public/script.js +++ b/public/script.js @@ -1,3 +1,4 @@ +"use strict"; const search = RegExp("[?&]q=([^&]+)"); function setPath(crumbs, files, q, path, query) { if (document.location.pathname != path || document.location.search != query) {