diff --git a/app.js b/app.js index b629861..f98641d 100644 --- a/app.js +++ b/app.js @@ -10,8 +10,6 @@ import http from "http"; const app = express() - - //解决跨域 app.use((req, res, next) => { // 设置是否运行客户端设置 withCredentials @@ -47,10 +45,8 @@ http.createServer(app).listen(config.port, "::",() => { // app.listen(config.port, () => { // console.log(` // 爬虫运行在下面网址: - // 1️⃣ 公网 IPV6: http://[${ipv6()}]:${config.port} // 2️⃣ 局域网 IPV4: http://${ipv4()}:${config.port} - // `) // })