1 parent e6d35ce commit 0224a09Copy full SHA for 0224a09
2 files changed
client/.env.production
@@ -0,0 +1,7 @@
1
+VITE_API_URL=https://civicverse-server-784946024453.us-central1.run.app
2
+VITE_FIREBASE_API_KEY=AIzaSyAlgNq-_3jdTSEz-1HhhOEKgkHbRLHATtw
3
+VITE_FIREBASE_AUTH_DOMAIN=election-4c1b3.firebaseapp.com
4
+VITE_FIREBASE_PROJECT_ID=election-4c1b3
5
+VITE_FIREBASE_MESSAGING_SENDER_ID=795009536830
6
+VITE_FIREBASE_APP_ID=1:795009536830:web:7019cc7a5c410fbfc5126f
7
+VITE_GA_MEASUREMENT_ID=G-6G5RN5S69E
client/vite.config.js
@@ -6,6 +6,9 @@ export default defineConfig({
plugins: [react()],
server: {
8
port: 5173,
9
+ headers: {
10
+ 'Cross-Origin-Opener-Policy': 'same-origin-allow-popups',
11
+ },
12
proxy: {
13
'/api': {
14
target: 'http://localhost:5002',
0 commit comments