
本文共 1440 字,大约阅读时间需要 4 分钟。
������������������������������������������������������������������������������������������������������������������������������������������static
���������������������������������������������������������������������������������������������������������
���������������static
������������������������������������1.html
���������������������������������������������������������������HTML������������������������������������������������������������������������������������������������
���������������������������������������������������������1.html
������������������������������������������������index.js
������������������Express���������������������������������������������������������������router.get('/user', async (ctx, next) => { ... })
������������������������������/user
������������������������������������������������������������������������������������������ctx.type = 'html';
���������������fs.createReadStream('./static/1.html')
���������������������������������������������������������try-catch���������������������������������������������������������
���������������������������������������������������������URL���/user
������������������������������������������������������������������������������static
���������������������������������������������1.html
���������������������������������������������������������������������������������������������������������������Express������������������������������������������������������������������
发表评论
最新留言
关于作者
