From 770f154436c6467f63af09891c8b0a6a96f838a6 Mon Sep 17 00:00:00 2001 From: Geun-Oh Date: Sun, 7 Apr 2024 02:11:58 +0900 Subject: [PATCH] feat: add env --- src/api/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/client.ts b/src/api/client.ts index 07d22e0..287fc59 100644 --- a/src/api/client.ts +++ b/src/api/client.ts @@ -1,7 +1,7 @@ import axios from "axios"; const client = axios.create({ - baseURL: process.env.VITE_APP_BASE_URL , + baseURL: import.meta.env.VITE_APP_BASE_URL , headers: { "Content-Type": "application/json", },