mirror of
https://github.com/SunRed/haste-server.git
synced 2024-11-23 17:50:19 +01:00
More robots.txt work
This commit is contained in:
parent
2299819781
commit
56bf98daac
2 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,7 @@ StaticHandler.contentTypeFor = function(ext) {
|
||||||
else if (ext == '.css') return 'text/css';
|
else if (ext == '.css') return 'text/css';
|
||||||
else if (ext == '.html') return 'text/html';
|
else if (ext == '.html') return 'text/html';
|
||||||
else if (ext == '.ico') return 'image/ico';
|
else if (ext == '.ico') return 'image/ico';
|
||||||
|
else if (ext == '.txt') return 'text/plain';
|
||||||
else {
|
else {
|
||||||
winston.error('unable to determine content type for static asset with extension: ' + ext);
|
winston.error('unable to determine content type for static asset with extension: ' + ext);
|
||||||
return 'text/plain';
|
return 'text/plain';
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
<script type="text/javascript" src="highlight.min.js"></script>
|
<script type="text/javascript" src="highlight.min.js"></script>
|
||||||
<script type="text/javascript" src="application.js"></script>
|
<script type="text/javascript" src="application.js"></script>
|
||||||
|
|
||||||
|
<meta name="robots" content="noindex,nofollow"/>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var app = null;
|
var app = null;
|
||||||
// Handle pops
|
// Handle pops
|
||||||
|
|
Loading…
Reference in a new issue