2014-01-30 45 views
0

我已經定義了一些字體CSS規則,具有絕對URL像的CSS捆綁和縮小,CSS規則包含absoulte網址

@font-face { 
    font-family: 'Oxygen'; 
    font-style: normal; 
    font-weight: 700; 
    src: local('Oxygen Bold'), local('Oxygen-Bold'), url(http://themes.googleusercontent.com/static/fonts/oxygen/v2/yVHpdQrmTj9Kax1tmFSx2j8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); 
} 

但是當我做絕對URL的捆綁。因爲它無法解決路徑,所以我遇到了400例外。

"NetworkError: 400 Bad Request - Something/Content/css/http:/themes.googleusercontent.com/static/fonts/oxygen/v2/RzoNiRR1p2Mqyyz2RwqSMw.woff" 
RzoNiR...Mw.woff 

回答

0

您可能希望定製CssRewriteUrlTransform而忽略與https://http://

啓動路徑