From f0996ff0ab44df0f461836e68633a26b6b929955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B5=ED=9D=AC=20=EA=B9=80?= Date: Wed, 11 Dec 2024 20:13:59 +0900 Subject: [PATCH] update --- .env.development | 2 +- .env.production | 3 ++- package.json | 2 +- src/services/http.js | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 008d85d..3b0b92c 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ -BASE_URL=http://101.79.10.128:5100 +BASE_URL=https://uie.kr # BASE_URL=http://localhost:5100 STRIPE_PUBLIC_KEY= STRIPE_SECRET_KEY= diff --git a/.env.production b/.env.production index 690853e..2d2a7ab 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,8 @@ # BASE_URL=http://localhost:5100 # BASE_URL=http://192.168.0.6:5100 # BASE_URL=http://127.0.0.1:5100 -BASE_URL=http://101.79.10.128:5100 +# BASE_URL=https://101.79.10.128:5100 +BASE_URL=https://uie.kr STRIPE_PUBLIC_KEY= STRIPE_SECRET_KEY= PAYPAL_CLIENT_ID= diff --git a/package.json b/package.json index 849dc1a..88f5101 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start -p 3000", "lint": "next lint", - "prod": "next build && next start" + "prod": "next build && next start -p 3000" }, "dependencies": { "@babel/eslint-parser": "^7.23.10", diff --git a/src/services/http.js b/src/services/http.js index 5132c69..1386c36 100644 --- a/src/services/http.js +++ b/src/services/http.js @@ -22,7 +22,7 @@ function getToken() { const baseURL = process.env.BASE_URL; const http = axios.create({ - baseURL: baseURL + `/api`, + baseURL: baseURL + `/v1`, timeout: 60000 });