Added robots meta tag to inline version to prevent indexing.

This commit is contained in:
n1474335 2018-02-20 17:34:19 +00:00
parent 19f2e6dae0
commit cb1fe80214
3 changed files with 1 additions and 8 deletions

View File

@ -379,10 +379,6 @@ module.exports = function (grunt) {
src: "docs/**",
dest: "build/prod/"
},
{
src: "src/web/static/robots.txt",
dest: "build/prod/robots.txt"
}
]
}
},

View File

@ -88,6 +88,7 @@
window.loadingMsgsInt = setInterval(changeLoadingMsg, (Math.random() * 2000) + 1500);
</script>
<% if (!htmlWebpackPlugin.options.inline) { %>
<meta name="robots" content="noindex" />
<script type="application/ld+json">
<% print(JSON.stringify(require("../static/structuredData.json"))); %>
</script>

View File

@ -1,4 +0,0 @@
user-agent: *
disallow: /cyberchef.htm
sitemap: https://gchq.github.io/CyberChef/sitemap.xml