node.js how to use a app.get variable in another one

前端 未结 0 380
我寻月下人不归
我寻月下人不归 2021-01-31 02:52
app.get(\'/\', (req, res) => {
    res.render(\'index\');
   can = req.originalUrl.split(\'&\')[0];
});

I want to use can in storage

相关标签:
回答
  • 消灭零回复
提交回复
热议问题