res.sendFile()函數本質上在給定路徑上傳輸文件,並根據文件名擴展名設置Content-Type響應HTTP標頭字段。 用法: res.sendFile(path [, options] [, fn]).
確定! 回上一頁