mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
VITE_* for VITE_SERVER_URL
This commit is contained in:
@@ -38,7 +38,7 @@ function Field({
|
||||
}
|
||||
|
||||
export default function LogInForm() {
|
||||
const serverURL = import.meta.env.SERVER_URL?.trim() || "http://localhost:3000";
|
||||
const serverURL = import.meta.env.VITE_SERVER_URL?.trim() || "http://localhost:3000";
|
||||
|
||||
const [mode, setMode] = useState<"login" | "register">("login");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user