【发布时间】:2016-08-22 20:20:07
【问题描述】:
mapv02.html 发送正确,但是找不到mapv01.html 中的'.js'!
//routes/restapi.js
res.sendFile(path.join(__dirname, '../public', 'mapv02.html'));
//public/mapv02.html
<script type="text/javascript" src="js/jquery-2.1.4.js"></script>
【问题讨论】:
标签: javascript node.js express