Add robots.txt, cleanup config.js list

pull/5/head
EOS Classic 6 years ago committed by Ikmyeong Na
parent 184cace793
commit 5c4b22acbe
No known key found for this signature in database
GPG Key ID: EC674310ADADE2CA
  1. 27
      lib/utils/config.js
  2. 3
      src/robots.txt
  3. 2
      src/views/layout.jade

@ -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,

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

@ -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

Loading…
Cancel
Save