const express = require('express');
const app = express();
app.get('/', function (req, res) => {
res.send('this is port 3000');
});
app.listen(3000, () => {
console.log(3000);
});
const express = require('express');
const app = express();
app.get('/', function (req, res) => {
res.send('this is port 3000');
});
app.listen(3000, () => {
console.log(3000);
});
本文标题:server.js
本文链接:https://www.haomeiwen.com/subject/pfymfctx.html
网友评论