This commit is contained in:
2024-11-28 22:37:05 +08:00
parent 6e0b8ccc4d
commit 60803bb489

4
app.js
View File

@@ -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}
// `)
// })