Skip to content

Commit e8a77be

Browse files
committed
Add proxy to temporarily fix CORS
1 parent 85894c1 commit e8a77be

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

frontend/package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "frontend",
33
"version": "0.1.0",
44
"private": true,
5+
"proxy": "https://question-service-598285527681.us-central1.run.app",
56
"scripts": {
67
"dev": "next dev",
78
"build": "next build",
@@ -32,6 +33,7 @@
3233
"react-hook-form": "^7.53.0",
3334
"react-icons": "^5.3.0",
3435
"react-pro-sidebar": "^1.1.0",
36+
"react-spinners": "^0.14.1",
3537
"sweetalert2": "^11.14.1",
3638
"tailwind-merge": "^2.5.2",
3739
"tailwindcss-animate": "^1.0.7",
@@ -48,4 +50,4 @@
4850
"tailwindcss": "^3.4.1",
4951
"typescript": "^5"
5052
}
51-
}
53+
}

0 commit comments

Comments
 (0)