diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..40b878d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ \ No newline at end of file diff --git a/app.js b/app.js index 4716cca..7729c89 100644 --- a/app.js +++ b/app.js @@ -54,7 +54,7 @@ app.get('/add', function(req, res) { }) }) - res.send('添加留言接口'); + res.send('1'); ret = Date()+"-"+req.ip+"-添加留言请求"; log(ret); console.log(ret); diff --git a/public/index.html b/public/index.html index f3a4c4d..ecb7e7e 100644 --- a/public/index.html +++ b/public/index.html @@ -4,15 +4,23 @@ - + +
{{ message }}
+ +test