2014-11-24 71 views

回答

0

標題的source不匹配該文件夾中的圖像的輸入路徑 - 它需要以/開頭:

{ 
    "firebase": "sistema-de-oficios", 
    "public": ".", 
    "ignore": [ 
    "firebase.json", 
    "**/.*", 
    "**/node_modules/**" 
    ], 
    "headers": [{ 
    "source": "/css/images/*[email protected](jpg|jpeg|gif|png)", 
    "headers": [{ 
     "key": "Cache-Control", 
     "value": "max-age=7200" 
    }] 
    }] 
} 

此外,還要確保你在最新版本的firebase-tools這是目前1.1.4在寫作的時候。

+0

非常感謝。正是這個斜線,我已經有了1.1.4版本。 – 2014-11-27 06:10:17