diff options
author | Vitaly Takmazov | 2024-10-24 12:12:26 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-10-24 12:12:43 +0300 |
commit | d3fce6f548c5bcd208c673bb19a172975d084a56 (patch) | |
tree | f10337bce2ccd52209f0f1bb265133cc5d6bb6f0 | |
parent | 2ef61f81a72f4a272788da588327c58b5462ff95 (diff) |
urlexpand: fix JSDoc
-rw-r--r-- | vnext/server/middleware/urlexpand.js | 3 |
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() |