2014-05-23 77 views
0

我有一些應用程序港口沒有部署的字體和其他靜態文件。我可以告訴它沒有部署,因爲當我訪問我的網站並查看開發工具中的網絡選項卡時,它會顯示404字體請求。appharbor沒有部署靜態文件

我知道他們正在被複制,因爲在應用程序海港生成輸出文件時,它指出

Copying file from "D:\temp\2a4lm22o.yq0\input\foo.Web\foo.Mobile\Content\fonts\flat-ui-icons-regular.svg" to "D:\temp\2a4lm22o.yq0\output\Content\fonts\flat-ui-icons-regular.svg". 
     Copying file from "D:\temp\2a4lm22o.yq0\input\foo.Web\foo.Mobile\Content\fonts\flat-ui-icons-regular.eot" to "D:\temp\2a4lm22o.yq0\output\Content\fonts\flat-ui-icons-regular.eot". 
     Copying file from "D:\temp\2a4lm22o.yq0\input\foo.Web\foo.Mobile\Content\fonts\flat-ui-icons-regular.ttf" to "D:\temp\2a4lm22o.yq0\output\Content\fonts\flat-ui-icons-regular.ttf". 
     Copying file from "D:\temp\2a4lm22o.yq0\input\foo.Web\foo.Mobile\Content\fonts\flat-ui-icons-regular.woff" to "D:\temp\2a4lm22o.yq0\output\Content\fonts\flat-ui-icons-regular.woff" 

這些字體的我也已經設置了build actioncontentcopy to output directorycopy always,但仍然一無所獲。

任何幫助將不勝感激解決這個問題,將不勝感激。非常感謝。

回答

0

我不能讓appharbor重新識別字體,所以我只是將它們上傳到AMAZON S3並從我的腳本中引用它們。