We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36f1d6e commit ee3e6ceCopy full SHA for ee3e6ce
frontend/.env.production
@@ -0,0 +1,2 @@
1
+# If you prefer absolute calls instead of rewrites, set this
2
+# VITE_API_BASE=https://sportiq-j4hv.onrender.com
frontend/.vercelignore
@@ -0,0 +1,8 @@
+# Ignore everything by default, let Vercel use the build output
+# Node modules are not needed at deploy time for static builds
3
+node_modules
4
+*.log
5
+.vscode
6
+.git
7
+.gitignore
8
+.DS_Store
frontend/vercel.json
@@ -0,0 +1,12 @@
+{
+ "rewrites": [
+ {
+ "source": "/api/(.*)",
+ "destination": "https://sportiq-j4hv.onrender.com/api/$1"
+ },
+ "source": "/health",
9
+ "destination": "https://sportiq-j4hv.onrender.com/health"
10
+ }
11
+ ]
12
+}
0 commit comments