feature/state-and-data-fetching #1

Merged
ilia merged 27 commits from feature/state-and-data-fetching into main 2026-03-24 08:02:20 +00:00
3 changed files with 4 additions and 2 deletions
Showing only changes of commit 98146a7996 - Show all commits

View File

@@ -1,2 +1,4 @@
export const BASE_URL =
import.meta.env.VITE_API_BASE_URL || "https://localhost:3001";
export const UNEXPECTED_ERROR_MESSAGE = "An unexpected error occured";

View File

@@ -1,5 +1,5 @@
import ky from "ky";
import { BASE_URL } from "./endpoint";
import { BASE_URL } from "./constants";
export const api = ky.create({
prefixUrl: BASE_URL,

View File

@@ -1,2 +1,2 @@
export * from "./api/endpoint";
export * from "./api/constants";
export * from "./api/httpClient";