This commit is contained in:
Thomas E Lackey 2023-09-13 14:28:43 -05:00
parent a22ab195ae
commit e404292a00
3 changed files with 3 additions and 6 deletions

View File

@ -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 (
<Router>
<div>

View File

@ -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`, {

View File

@ -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: {