chore: rename file
This commit is contained in:
@@ -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";
|
||||
@@ -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,
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export * from "./api/endpoint";
|
||||
export * from "./api/constants";
|
||||
export * from "./api/httpClient";
|
||||
|
||||
Reference in New Issue
Block a user