This commit is contained in:
2024-01-10 17:35:18 +05:00
parent 72f68c3325
commit 42c7f15cdd
13 changed files with 124 additions and 97 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import ky from "ky";
const api = ky.extend({
prefixUrl: `${import.meta.env.VITE_API_URL}/api`,
prefixUrl: import.meta.env.VITE_API_URL,
});
export default api;
-3
View File
@@ -1,3 +0,0 @@
export default function randomNumber(min: number, max: number) {
return Math.floor(Math.random() * (max - min) + min);
}