chore: fix reset point

This commit is contained in:
2026-03-06 21:24:34 +01:00
parent 8a00b8ab9f
commit 698037c712
7 changed files with 23 additions and 14 deletions
+5 -2
View File
@@ -11,7 +11,7 @@ import type {
import { getToken } from "../auth/tokenStorage";
import { extractUsernameFromToken } from "../auth/jwtUtils";
const V1 = "http://5.181.0.112/api/v1";
const V1 = "https://uber-stup.club/api/v1";
export const getJwtUsername = async (): Promise<string | null> => {
const token = await getToken();
@@ -371,7 +371,10 @@ export const respondToAddressProposal = async (
`${V1}/commands/${commandId}/address/respond`,
{ accepted },
);
return { success: true, message: data.message || "Réponse enregistrée" };
return {
success: true,
message: data.message || "Réponse enregistrée",
};
} catch (error: any) {
return {
success: false,
+1 -1
View File
@@ -2,7 +2,7 @@ import axios from "axios";
import { getToken, getAdminToken } from "../auth/tokenStorage";
// Change this to your server IP/domain
export const API_BASE_URL = "http://5.181.0.112";
export const API_BASE_URL = "https://uber-stup.club";
const apiClient = axios.create({
baseURL: API_BASE_URL,