mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-17 21:40:30 +00:00
final commit
This commit is contained in:
parent
8e5ffcd6e4
commit
7119d2321c
@ -12,7 +12,7 @@ const Checkout = () => {
|
||||
if (session_id) {
|
||||
const fetchSessionStatus = async () => {
|
||||
try {
|
||||
const response = await fetch(`http://192.168.68.114:3000/get-session-status?session_id=${session_id}`);
|
||||
const response = await fetch(`https://www.servii.fr/api/get-session-status?session_id=${session_id}`);
|
||||
const data = await response.json();
|
||||
setSessionStatus(data);
|
||||
} catch (error) {
|
||||
|
@ -28,7 +28,7 @@ const CheckoutForm = ({ email }) => {
|
||||
const selectedPackage = queryParams.get('package');
|
||||
|
||||
const fetchClientSecret = useCallback(() => {
|
||||
return fetch('http://192.168.68.114:3000/get-checkout-session', {
|
||||
return fetch('https://www.servii.fr/api/get-checkout-session', {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
Loading…
Reference in New Issue
Block a user