Merge pull request #7 from JBB0807/auth-print-2

added env for docker
This commit is contained in:
JB Balahadia 2025-04-28 11:13:19 -07:00 committed by GitHub
commit c07b954d7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 (