📅  最后修改于: 2022-03-11 15:03:10.747000             🧑  作者: Mango
const http = require('http')
const express = require('express')
const app = express()
const server = http.Server(app)
app.set('port', 8888)
server.listen(8888)
app.get('/', (req, res) => {
res.json({teste: true})
})