Add robots.txt, cleanup config.js list

This commit is contained in:
EOS Classic 2018-09-16 12:04:16 +09:00 committed by Ikmyeong Na
parent 184cace793
commit 5c4b22acbe
No known key found for this signature in database
GPG Key ID: EC674310ADADE2CA
3 changed files with 7 additions and 25 deletions

View File

@ -1,29 +1,6 @@
var trusted = [
'52.16.188.185',
'54.94.239.50',
'54.174.74.156',
'54.172.25.93',
'54.174.75.126',
'54.173.232.137',
'52.7.205.180',
'52.7.218.44',
'52.7.205.152',
'52.7.224.174',
'92.51.165.126',
'84.117.82.122',
'73.40.58.88',
'178.19.221.38',
'185.37.145.18',
'172.31.39.87',
'86.120.171.69',
'86.123.155.6',
'188.24.81.133',
'::ffff:127.0.0.1',
];
var trusted = [];
var banned = [
// '198.48.150.206'
];
var banned = [];
module.exports = {
trusted: trusted,

3
src/robots.txt Normal file
View File

@ -0,0 +1,3 @@
# http://www.robotstxt.org
User-agent: *
Disallow:

View File

@ -7,6 +7,8 @@ html(ng-app="netStatsApp")
style(type="text/css") [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak { display: none !important; }
link(rel='stylesheet', href='//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700')
link(rel='stylesheet', href='/css/netstats.min.css')
meta(name='robots', content='index,follow')
meta(name='googlebot', content='index,follow')
body
block content