How to use parseurl.original:
216 217 218 219 220 221 222 223 224 225 226
* @private */ function getResourceName (req) { try { return parseUrl.original(req).pathname } catch (e) { return 'resource' } }
How to use parseurl.original:
216 217 218 219 220 221 222 223 224 225 226
* @private */ function getResourceName (req) { try { return parseUrl.original(req).pathname } catch (e) { return 'resource' } }