aboutsummaryrefslogtreecommitdiff
path: root/vnext/server/middleware/urlexpand.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/server/middleware/urlexpand.js')
-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()