From e404292a005eee977f05db1203f713b7164a104a Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 13 Sep 2023 14:28:43 -0500 Subject: [PATCH] URLs --- src/App.js | 3 +-- src/components/pages/RegisterPage.js | 3 +-- src/components/pages/VerifyPage.js | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/App.js b/src/App.js index 5f58359..54b9f0b 100644 --- a/src/App.js +++ b/src/App.js @@ -7,8 +7,7 @@ import VerifyPage from './components/pages/VerifyPage' import './App.css' export default function App() { - //const basePath = "LACONIC_HOSTED_CONFIG_web_path" - const basePath = ""; + const basePath = "LACONIC_HOSTED_CONFIG_web_path" return (
diff --git a/src/components/pages/RegisterPage.js b/src/components/pages/RegisterPage.js index eb40314..98a23dd 100644 --- a/src/components/pages/RegisterPage.js +++ b/src/components/pages/RegisterPage.js @@ -15,8 +15,7 @@ export default function SignUpPage() { setMessage(""); setError(""); - //const apiUrl = "LACONIC_HOSTED_CONFIG_api_url"; - const apiUrl = "http://localhost:9393"; + const apiUrl = "LACONIC_HOSTED_CONFIG_api_url"; e.preventDefault(); try { let res = await fetch(`${apiUrl}/register`, { diff --git a/src/components/pages/VerifyPage.js b/src/components/pages/VerifyPage.js index fdfa38b..f1a218d 100644 --- a/src/components/pages/VerifyPage.js +++ b/src/components/pages/VerifyPage.js @@ -11,8 +11,7 @@ export default function VerifyPage(props) { const token = query.get("token") let handleSubmit = async () => { - //const apiUrl = "LACONIC_HOSTED_CONFIG_api_url"; - const apiUrl = "http://localhost:9393"; + const apiUrl = "LACONIC_HOSTED_CONFIG_api_url"; let res = await fetch(`${apiUrl}/verify`, { method: "POST", headers: {