added env for docker

This commit is contained in:
JBB0807 2025-04-28 11:12:10 -07:00
parent a67a1fef8a
commit fe25235c6d
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,8 @@
import React from "react";
function SignUpForm() {
const authUrl = import.meta.env.VITE_AUTH_URL;
const [state, setState] = React.useState({
name: "",
email: "",
@ -30,7 +33,8 @@ function SignUpForm() {
};
const googleAuth = () => {
window.open("https://byte-camp-auth-service.fly.dev/auth/google", "_self");
window.open(authUrl, "_self");
};
return (