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' import './App.css'
export default function App() { export default function App() {
//const basePath = "LACONIC_HOSTED_CONFIG_web_path" const basePath = "LACONIC_HOSTED_CONFIG_web_path"
const basePath = "";
return ( return (
<Router> <Router>
<div> <div>

View File

@ -15,8 +15,7 @@ export default function SignUpPage() {
setMessage(""); setMessage("");
setError(""); setError("");
//const apiUrl = "LACONIC_HOSTED_CONFIG_api_url"; const apiUrl = "LACONIC_HOSTED_CONFIG_api_url";
const apiUrl = "http://localhost:9393";
e.preventDefault(); e.preventDefault();
try { try {
let res = await fetch(`${apiUrl}/register`, { let res = await fetch(`${apiUrl}/register`, {

View File

@ -11,8 +11,7 @@ export default function VerifyPage(props) {
const token = query.get("token") const token = query.get("token")
let handleSubmit = async () => { let handleSubmit = async () => {
//const apiUrl = "LACONIC_HOSTED_CONFIG_api_url"; const apiUrl = "LACONIC_HOSTED_CONFIG_api_url";
const apiUrl = "http://localhost:9393";
let res = await fetch(`${apiUrl}/verify`, { let res = await fetch(`${apiUrl}/verify`, {
method: "POST", method: "POST",
headers: { headers: {