Skip to content

Commit

Permalink
Testing environment variables for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
basshamut committed Jun 27, 2024
1 parent 4530729 commit 2c7be94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/forms/login/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default function Login() {
function doLogin() {
if (validateEmail(user)) {
const domain = import.meta.env.VITE_API_URL
console.log("Domain: " + domain)
fetch(domain + '/api/users/login', {
method: 'POST',
headers: {
Expand Down

0 comments on commit 2c7be94

Please sign in to comment.