| { | |
| "hosting": { | |
| "public": "web", | |
| "ignore": [ | |
| "firebase.json", | |
| "**/.*", | |
| "**/node_modules/**" | |
| ], | |
| "rewrites": [ | |
| { | |
| "source": "/", | |
| "destination": "/login.html" | |
| } | |
| ], | |
| "redirects": [ | |
| { | |
| "source": "/signup", | |
| "destination": "/register.html", | |
| "type": 301 | |
| }, | |
| { | |
| "source": "/login", | |
| "destination": "/login.html", | |
| "type": 301 | |
| } | |
| ], | |
| "headers": [ | |
| { | |
| "source": "**/*.@(jpg|jpeg|gif|png|svg|webp|js|css)", | |
| "headers": [ | |
| { | |
| "key": "Cache-Control", | |
| "value": "max-age=31536000" | |
| } | |
| ] | |
| }, | |
| { | |
| "source": "**/*.@(html)", | |
| "headers": [ | |
| { | |
| "key": "Cache-Control", | |
| "value": "no-cache" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| } | |