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 10 additions and 0 deletions
Showing only changes of commit 5acb326c03 - Show all commits

View File

@@ -0,0 +1,2 @@
export const BASE_URL =
import.meta.env.VITE_API_BASE_URL || "https://localhost:3001";

View File

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

View File

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