diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..9973da8 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "sticky-notes-f278f" + } +} diff --git a/.gitignore b/.gitignore index 6635cf5..13bce3e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ node_modules !.env.example vite.config.js.timestamp-* vite.config.ts.timestamp-* +*.log diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..42c0b97 --- /dev/null +++ b/firebase.json @@ -0,0 +1,27 @@ +{ + "hosting": { + "public": "build", + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ], + "headers": [ + { + "source": "/", + "headers": [ + { + "key": "Cross-Origin-Embedder-Policy", + "value": "require-corp" + }, + { + "key": "Cross-Origin-Opener-Policy", + "value": "same-origin" + } + ] + } + ] + } +}