Open shokai opened 3 years ago
Hi, I found a bug and I'm reporting it.
const page = require('./') page('/foo', ctx => { console.log('canonicalPath', ctx.canonicalPath) console.log('pathname', ctx.pathname) }) page('/foo?hello=there') page('/foo#hash') page('/foo?hello=there#hash') // query and hash
output
canonicalPath /foo?hello=there pathname /foo canonicalPath /foo#hash pathname /foo canonicalPath /foo?hello=there#hash pathname /foo?hello=there
Hi, I found a bug and I'm reporting it.
output