Update src/components/pages/RegisterPage.js

This commit is contained in:
Thomas E Lackey 2023-08-17 22:25:19 +00:00
parent c0ed71e21c
commit a4b2efcaca

View File

@ -14,10 +14,10 @@ export default function SignUpPage() {
setMessage("");
setError("");
const apiBase = "LACONIC_HOSTED_CONFIG_api_url";
const apiUrl = "LACONIC_HOSTED_CONFIG_api_url";
e.preventDefault();
try {
let res = await fetch(`${apiBase}/register`, {
let res = await fetch(`${apiUrl}/register`, {
method: "POST",
headers: {
"Content-Type": "application/json",