ADD login

This commit is contained in:
dvirlabs 2026-02-20 16:56:44 +02:00
parent d830f33e23
commit 941d005d6e
5 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import { useState, useEffect } from 'react'
import Auth from './Auth' import Auth from './Auth'
import './App.css' import './App.css'
const API_URL = import.meta.env.VITE_API_URL || 'http://10.188.50.221:8000' const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:8000'
const AVAILABLE_ICONS = [ const AVAILABLE_ICONS = [
'📝', '💼', '🏠', '🛒', '🎯', '💪', '📚', '✈️', '📝', '💼', '🏠', '🛒', '🎯', '💪', '📚', '✈️',

View File

@ -1,7 +1,7 @@
import { useState, useEffect } from 'react' import { useState, useEffect } from 'react'
import './Auth.css' import './Auth.css'
const API_URL = import.meta.env.VITE_API_URL || 'http://10.188.50.221:8000' const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:8000'
function Auth({ onLogin }) { function Auth({ onLogin }) {
const [isLogin, setIsLogin] = useState(true) const [isLogin, setIsLogin] = useState(true)