add ENV var for api endpoint for frontend

This commit is contained in:
timothycarambat 2023-06-08 12:49:33 -07:00
parent 8199fcc077
commit abdaf4e63d
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
export const API_BASE = export const API_BASE =
import.meta.env.VITE_ENABLE_GOOGLE_AUTH || "http://localhost:5000"; import.meta.env.VITE_API_BASE || "http://localhost:5000";

View File

@ -15,7 +15,7 @@
"dev:server": "cd server && yarn dev", "dev:server": "cd server && yarn dev",
"dev:frontend": "cd frontend && yarn start", "dev:frontend": "cd frontend && yarn start",
"prod:server": "cd server && yarn start", "prod:server": "cd server && yarn start",
"prod:frontend": "cd frontend && yarn start" "prod:frontend": "cd frontend && yarn build"
}, },
"private": false "private": false
} }