UseStaticFiles .NetCore需要在Startup 加入StaticFileMiddleware 才能直接訪問靜態檔案,預設的路徑為wwwroot app.UseStaticFiles();.
確定! 回上一頁