From 60803bb4896d096f31bffc9ae3ba671571a4b4a7 Mon Sep 17 00:00:00 2001 From: bmy <2271608011@qq.com> Date: Thu, 28 Nov 2024 22:37:05 +0800 Subject: [PATCH] ee --- app.js | 4 ---- 1 file changed, 4 deletions(-) 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} - // `) // })