From 6efe7c6f97e5e891285c2f4cf10c8272a86ad551 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期六, 05 八月 2023 17:23:14 +0800 Subject: [PATCH] Fixed: [弱掃] p12.1 URL manipulation --- PAMapp/shared/services/httpClient.ts | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/PAMapp/shared/services/httpClient.ts b/PAMapp/shared/services/httpClient.ts index 001821f..a015cd1 100644 --- a/PAMapp/shared/services/httpClient.ts +++ b/PAMapp/shared/services/httpClient.ts @@ -13,8 +13,10 @@ '/api/access_analysis/insert' ]; +const BASE_URL = process.env.BASE_URL; + export const http = axios.create({ - baseURL: process.env.BASE_URL, + baseURL: BASE_URL, withCredentials: true, }); -- Gitblit v1.8.0