업뎃
This commit is contained in:
parent
d9c3890168
commit
65e95b1d9b
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user