This commit is contained in:
익희 김 2024-12-10 15:15:22 +09:00
parent d9c3890168
commit 65e95b1d9b
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"scripts": { "scripts": {
"dev": "next dev -p 3100", "dev": "next dev -p 3100",
"build": "next build", "build": "next build",
"start": "next start -p 3100", "start": "next start -p 80",
"lint": "next lint", "lint": "next lint",
"prod": "next build && next start" "prod": "next build && next start"
}, },

View File

@ -23,7 +23,7 @@ function getToken() {
const baseURL = process.env.BASE_URL; const baseURL = process.env.BASE_URL;
const http = axios.create({ const http = axios.create({
baseURL: baseURL + `/api`, baseURL: baseURL + `/api`,
timeout: 30000 timeout: 60000
}); });
http.interceptors.request.use( http.interceptors.request.use(