Skip to content
Snippets Groups Projects
Commit abdaf4e6 authored by timothycarambat's avatar timothycarambat
Browse files

add ENV var for api endpoint for frontend

parent 8199fcc0
No related branches found
No related tags found
No related merge requests found
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";
...@@ -15,7 +15,7 @@ ...@@ -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
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment