Update src/components/pages/RegisterPage.js
This commit is contained in:
parent
c0ed71e21c
commit
a4b2efcaca
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user