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