{
  "hosting": {
    "public": "public",
    "ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
    "rewrites": [
      { "source": "/api/auth", "function": "serveAuth" },
      { "source": "/api/public-key", "function": "servePublicKey" },
      { "source": "/api/stats", "function": "serveStats" },
      { "source": "/", "function": "serveMainPage" },
      { "source": "**", "function": "serveNpmPackageFile" }
    ]
  }
}
