Here is our express Server code. ... res.sendFile(path.join(__dirname+'/index.html')); //__dirname : It will resolve to your project folder. ... app.use('/', router) ...
確定! 回上一頁