Browse Source

add ip2addr

dotos 9 years ago
parent
commit
d67961a0c4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      routes/home.js
  2. 1 1
      views/welcome.pug

+ 1 - 1
routes/home.js

@@ -30,7 +30,7 @@ router.get('/', function(req, res, next) {
             title:'Welcome | JsonBird - 业界领先的远程 JSON 代理服务'
         };
         if(data){
-            params['address']='\n\r欢迎来自'+data.area+data.location+'的朋友';
+            params['address']='欢迎来自'+data.area+data.location+'的朋友';
         }
         res.render('welcome',params);
     });

+ 1 - 1
views/welcome.pug

@@ -4,7 +4,7 @@ block content
 	div.section-center
 		div.container
 			div.cover.heading JsonBird
-			div.cover.description 业界领先的远程 JSON 代理服务#{address}
+			div.cover.description 业界领先的远程 JSON 代理服务<br>#{address}
 			div.cover.action
 				a.btn.btn-ghost-light(href="/v1/?url=http://www.bing.com/HPImageArchive.aspx?format=js&idx=16&n=1") Quick Start