[fix] Version  2.x  introduced the URL object, which is not compatible with Node versions below 10.
## Describe the bug

**Node.js version:**  8.11.2

**OS version:** <!-- Write your operating system and version. -->

**Description:** <!-- A clear and concise description of what the bug is. -->

## Actual behavior

```
2024-04-11 14:25:48,740[v2][music-puzzle-admin][music-puzzle-admin][195926][traceId][spanId][uid][0:0][ERROR][mug] - [-/10.200.xxx.xxx/-/58ms GET /puzzle/tag/module/48] nodejs.ReferenceError: URL is not defined

    at Object.redirect (/home/appops/music-puzzle-admin/music-puzzle-admin_online/default/approot/node_modules/koa/lib/response.js:266:7)
```

https://github.com/koajs/koa/blob/ddbff3031696746d4674b6d8625a99f91338e792/lib/response.js#L266



## Expected behavior

<!-- Write expected behavior here. -->

## Code to reproduce

<!-- Share code to reproduce here inside a code formatted block, gist, or a repository we can clone to reproduce. -->

<!--
We encourage you to submit a pull request with a failing test:

1) This will make it more likely for us to prioritize your issue.
2) It's a good way to prove that the issue is related to this project and not your code.

Example: <https://github.com/avajs/ava/blob/master/docs/01-writing-tests.md#failing-tests>
-->

## Checklist

- [ ] I have searched through GitHub issues for similar issues.
- [ ] I have completely read through the README and documentation.
- [ ] I have tested my code with the latest version of Node.js and this package and confirmed it is still not working.
