提交 622c6e17 编写于 作者: M m0_60155232

Wed Sep 13 10:48:00 CST 2023 inscode

上级 3b27f400
...@@ -4,12 +4,14 @@ ...@@ -4,12 +4,14 @@
<script setup> <script setup>
import axios from 'axios';
// 域名解析处理器 // 域名解析处理器
async function parseHanle() { async function parseHanle() {
console.log("==="); const proxyUrl = 'https://cors-anywhere.herokuapp.com/';
console.log(browser); const targetUrl = `https://dns.google.com/resolve?name=baidu.com`
const res = await axios.get(proxyUrl + targetUrl);
console.log(res);
} }
</script> </script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册