aboutsummaryrefslogtreecommitdiff
path: root/vnext/server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-24 12:12:26 +0300
committerGravatar Vitaly Takmazov2024-10-24 12:12:43 +0300
commitd3fce6f548c5bcd208c673bb19a172975d084a56 (patch)
treef10337bce2ccd52209f0f1bb265133cc5d6bb6f0 /vnext/server
parent2ef61f81a72f4a272788da588327c58b5462ff95 (diff)
urlexpand: fix JSDoc
Diffstat (limited to 'vnext/server')
-rw-r--r--vnext/server/middleware/urlexpand.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/vnext/server/middleware/urlexpand.js b/vnext/server/middleware/urlexpand.js
index a99f80a7..fd7ab3bb 100644
--- a/vnext/server/middleware/urlexpand.js
+++ b/vnext/server/middleware/urlexpand.js
@@ -2,8 +2,7 @@ import { expandShortenedLink } from '../../src/api'
/**
* Expand URLs
- * @param {import("next").NextApiRequest} req
- * @param {import("next").NextApiResponse} res
+ * @type {import('express').RequestParamHandler}
*/
export default function urlExpand(req, res) {
let url = (req.query.url || '').toString()