Nodejs + Express访问html、css、js静态资源文件

server.jsphp const express = require('express'); //express框架模块 const path = require('path'); //系统路径模块 const app = express(); const hostName = '127.0.0.1'; //ip const port = 8080; //端口 app.use(expres
相关文章
相关标签/搜索