style-npm

1.0.0 • Public • Published

const express = require("express");//引入
const app = express();//
// app.use((req,res,next) => {
//   if(req.path === "/"){
//       res.end("1233156464")
//   }else{
//       next();
//   }
// })
// app.use((req,res,next) => {
//     if(req.path === "/api/list"){
//         res.end("鲁班大师智障250")
//     }else{
//         next();
//     }
// })
app.use(express.static('public'))

app.listen(8080, () => console.log("你好么?"))

Readme

Keywords

none

Package Sidebar

Install

npm i style-npm

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.54 kB

Total Files

5

Last publish

Collaborators

  • gengyunfei13