lieko-express 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lieko-express.js +1 -0
  2. package/package.json +1 -1
package/lieko-express.js CHANGED
@@ -1105,6 +1105,7 @@ ${cyan} (req, res, next) => {
1105
1105
  }
1106
1106
 
1107
1107
  req.originalUrl = req.url;
1108
+ req.path = req.url.split('?')[0];
1108
1109
  req.xhr = (req.headers['x-requested-with'] || '').toLowerCase() === 'xmlhttprequest';
1109
1110
 
1110
1111
  req.get = (name) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lieko-express",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/eiwSrvt/lieko-express"