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
相關文章
相關標籤/搜索