feat: add dockeriz project

This commit is contained in:
2026-09-02 00:47:48 +03:30
parent f16b9044a1
commit c5bfa5544c
6 changed files with 6193 additions and 1 deletions

View File

@@ -8,7 +8,8 @@ const useAxios = () => {
const navigate = useNavigate();
const instance = axios.create({
baseURL: "https://api.persain-game.com/api/v1",
baseURL:
import.meta.env.VITE_API_URL ?? "https://api.persain-game.com/api/v1",
maxBodyLength: Infinity,
...(sessionStorage.getItem("shop_id") && {
headers: {

8
src/vite-env.d.ts vendored
View File

@@ -1 +1,9 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_API_URL?: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}