Fakultas Ilmu Komputer UI

Commit 2c4b33ed authored by Nabila Febri Viola's avatar Nabila Febri Viola
Browse files

[CHORES] Change base url api

parent 353642ac
Pipeline #38657 failed with stages
in 3 minutes and 27 seconds
......@@ -2,6 +2,7 @@ import React from "react"
import { Form } from "react-bootstrap"
import { useForm } from "react-hook-form"
import * as yup from "yup"
import { BASE_API_URL } from "./config"
import ModalRegisterAccount from "./register-account"
......@@ -79,7 +80,7 @@ const ModalRegister = ({ show, handleClose }) => {
"}"
console.log(data)
await fetch("https://dblood-staging.netlify.com/auth/register-full/", {
await fetch(`${BASE_API_URL}/auth/register-full/`, {
method: "POST",
headers: {
"Content-Type": "application/json",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment