We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f188cd commit 4ba52d7Copy full SHA for 4ba52d7
src/node/http.ts
@@ -100,7 +100,8 @@ export const relativeRoot = (req: express.Request): string => {
100
}
101
102
/**
103
- * Redirect relatively to `/${to}`. Query variables will be preserved.
+ * Redirect relatively to `/${to}`. Query variables on the current URI will be preserved.
104
+ * `to` should be a simple path without any query parameters
105
* `override` will merge with the existing query (use `undefined` to unset).
106
*/
107
export const redirect = (
0 commit comments