黄舟2017-04-17 15:51:19
I understand, are you using express and setting the default homepage?
At this time, you visited localhost:1337/ but the content of /public/123/1.html was taken. At this time, your path is actually under the root path /, so the page request is localhost:1337/../ 1.js, and was reset to localhost:1337/1.js by the browser
Now when you visit localhost:1337/public/123/1.html, the request at this time should be localhost:1337/public/1.js
天蓬老师2017-04-17 15:51:19
Did you use routing? It can only be calculated from your current location
You can just use 1.js for this
Didn’t you capture everything/everything here? Then I found a public/132/1.html to render