IIS Express 配置json minitype

IIS Express 配置json minitypejson

一、在命令窗口中cd到IIS Express安裝目錄,默認是「C:\Program Files\IIS Express」;app

二、在IIS Express安裝目錄下執行命令:appcmd set config /section:staticContent /+[fileExtension='.json',mimeType='application/json']cmd

相關文章
相關標籤/搜索