{
  "database": {
    "rules": "database.rules.json"
  },
  "hosting": {
    "public": ".",
    "ignore": [
      "firebase.json",
      "package.json",
      "server.js",
      "**/.*",
      ".*ignore",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  },
  "headers": [
  {
    "source": "**/*.@(eot|otf|ttf|ttc|woff|font.css)",
    "headers": [
      {
        "key": "Access-Control-Allow-Origin",
        "value": "30000"
      },
      {
        "key": "Cache-Control",
        "value": "max-age=31536000"
      }
    ]
  },
  {
    "source": "**/*.@(*.js|*.css)",
    "headers": [
      {
        "key": "Cache-Control",
        "value": "max-age=31536000"
      }
    ]
  },
  {
    "source": "**/*.@(jpg|jpeg|gif|png)",
    "headers": [
      {
        "key": "Cache-Control",
        "value": "max-age=31536000"
      }
    ]
  },
  {
    "source": "404.html",
    "headers": [
      {
        "key": "Cache-Control",
        "value": "max-age=10000"
      }
    ]
  }
]
}
