URLs
This commit is contained in:
parent
a22ab195ae
commit
e404292a00
@ -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>
|
||||
|
@ -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`, {
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user