Skip to content

Commit

Permalink
print env vars in FE
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratchet7x5 committed Dec 12, 2024
1 parent 60ecb33 commit 7aa391c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ import AttendanceScreen from "./screens/AttendanceScreen.tsx";
import EventAttendanceSelectScreen from "./screens/EventAttendanceSelectScreen.tsx";
import { ExecRoute } from "@utils/AdminRouteProtection.tsx";

console.log(`Backend env vars :
VITE_API_URL=${import.meta.env.VITE_API_URL}
VITE_STRAPI_URL=${import.meta.env.VITE_STRAPI_URL},
VITE_APP_URL=${import.meta.env.VITE_APP_URL},
VITE_APP_NAME=${import.meta.env.VITE_APP_NAME},
VITE_STRIPE_PUBLISHABLE_KEY=${import.meta.env.VITE_STRIPE_PUBLISHABLE_KEY},`);

//supertokens code
SuperTokens.init({
appInfo: {
Expand Down

0 comments on commit 7aa391c

Please sign in to comment.