Commit a2548616 authored by 张淼's avatar 张淼

1

parent 5a896156
'use strict';
var express = require('express'),
router = express.Router(),
config = require('../../../config/config');
module.exports = function(app) {
app.use('/v1/forum', router);
};
router.get('/index', function(req, res, next) {
console.log('in===========');
var pageUrl=req.query.pageUrl;
// console.log(config.indexUrl);
if(pageUrl){
}else{
}
res.json('success');
});
\ No newline at end of file
......@@ -23,7 +23,8 @@ var config = {
bucketNameDev:'pisns-oss-dev',
prodCDNURL:'http://fs.wxpai.cn/',
devCDNURL:'http://dev.fs.wxpai.cn/'
}
},
indexUrl:'http://www.baidu.com'
},
test: {
......@@ -45,7 +46,8 @@ var config = {
bucketNameDev:'pisns-oss-dev',
prodCDNURL:'http://fs.wxpai.cn/',
devCDNURL:'http://dev.fs.wxpai.cn/'
}
},
indexUrl:''
},
......@@ -69,7 +71,8 @@ var config = {
bucketNameDev:'pisns-oss-dev',
prodCDNURL:'http://fs.wxpai.cn/',
devCDNURL:'http://dev.fs.wxpai.cn/'
}
},
indexUrl:''
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment