add originalUrl
This commit is contained in:
parent
55ebdb522b
commit
21b7eb82b9
2 changed files with 5 additions and 0 deletions
|
@ -117,6 +117,7 @@ throw err;
|
||||||
- `ctx.method=`
|
- `ctx.method=`
|
||||||
- `ctx.url`
|
- `ctx.url`
|
||||||
- `ctx.url=`
|
- `ctx.url=`
|
||||||
|
- `ctx.originalUrl`
|
||||||
- `ctx.path`
|
- `ctx.path`
|
||||||
- `ctx.path=`
|
- `ctx.path=`
|
||||||
- `ctx.query`
|
- `ctx.query`
|
||||||
|
|
|
@ -31,6 +31,10 @@
|
||||||
|
|
||||||
Set request URL, useful for url rewrites.
|
Set request URL, useful for url rewrites.
|
||||||
|
|
||||||
|
### req.originalUrl
|
||||||
|
|
||||||
|
Get request original URL.
|
||||||
|
|
||||||
### req.path
|
### req.path
|
||||||
|
|
||||||
Get request pathname.
|
Get request pathname.
|
||||||
|
|
Loading…
Reference in a new issue