项目的目录
引用js路径
<script src="/js/index.js"></script>
报错:
js文件夹外面还有一层 app 文件夹, 这个不能少吧, 地址应该是 /app/js/index.js
你是用express写的中间件么,粘一下服务端的代码