初始化提交

This commit is contained in:
2025-10-03 16:49:53 +08:00
parent 157ca32e2d
commit bdd67a65fa
1066 changed files with 373311 additions and 261 deletions

15
fetch-page.js Normal file
View File

@@ -0,0 +1,15 @@
import http from 'http';
http.get('http://localhost:3003/', (res) => {
let data = '';
res.on('data', (chunk) => {
data += chunk;
});
res.on('end', () => {
console.log(data.substring(0, 500));
});
}).on('error', (err) => {
console.log('Error: ' + err.message);
});