mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: fix firebase dev instance (#1606)
This commit is contained in:
+28
-21
@@ -1,23 +1,30 @@
|
||||
{
|
||||
"firebase": "material2-test",
|
||||
"public": "dist",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
"**/.*",
|
||||
"**/node_modules/**",
|
||||
"tmp",
|
||||
"deploy",
|
||||
"typings"
|
||||
],
|
||||
"headers": [{
|
||||
"source": "*",
|
||||
"headers": [{
|
||||
"key": "Cache-Control",
|
||||
"value": "no-cache"
|
||||
}]
|
||||
}],
|
||||
"rewrites": [{
|
||||
"source": "/**/!(*.@(js|ts|html|css|json|svg|png|jpg|jpeg))",
|
||||
"destination": "/index.html"
|
||||
}]
|
||||
"hosting": {
|
||||
"public": "dist",
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/**/!(*.@(js|ts|html|css|json|svg|png|jpg|jpeg))",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"source": "*",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "no-cache"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
"**/.*",
|
||||
"**/node_modules/**",
|
||||
"tmp",
|
||||
"deploy",
|
||||
"typings"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user