标签: express
express provide some simple access to request url, as request.query, request.body ... must i use url.parse(request.originalUrl).hash.slice(1)?
express provide some simple access to request url, as request.query, request.body ...
must i use
url.parse(request.originalUrl).hash.slice(1)?
答案 0 :(得分:9)
浏览器不会将url的哈希部分发送到服务器,因此express.js无法知道它。