윤준석

FIX: server db config and search api url

......@@ -4,7 +4,7 @@ const bunjangSingleSearch = (keyword) => {
return Promise.resolve(
axios
.get(
`http://43.200.35.46:18082/api/v2/bunjang/${encodeURIComponent(
`http://localhost:18082/api/v2/bunjang/${encodeURIComponent(
keyword
)}`
)
......@@ -17,7 +17,7 @@ const bunjangMultiSearch = (keyword) => {
return Promise.resolve(
axios
.get(
`http://43.200.35.46:18082/api/v2/bunjang/${encodeURIComponent(
`http://localhost:18082/api/v2/bunjang/${encodeURIComponent(
keyword
)}`
)
......
......@@ -4,7 +4,7 @@ const daangnSingleSearch = (keyword) => {
return Promise.resolve(
axios
.get(
`http://43.200.35.46:18080/api/v2/daangn/${encodeURIComponent(keyword)}`
`http://localhost:18080/api/v2/daangn/${encodeURIComponent(keyword)}`
)
.then((res) => res.data["items"][0])
.catch((e) => undefined)
......@@ -15,7 +15,7 @@ const daangnMultiSearch = (keyword) => {
return Promise.resolve(
axios
.get(
`http://43.200.35.46:18080/api/v2/daangn/${encodeURIComponent(keyword)}`
`http://localhost:18080/api/v2/daangn/${encodeURIComponent(keyword)}`
)
.then((res) => res.data["items"])
.catch((e) => undefined)
......
......@@ -4,7 +4,7 @@ const joongnaSingleSearch = (keyword) => {
return Promise.resolve(
axios
.get(
`http://43.200.35.46:18081/api/v2/joongna/${encodeURIComponent(
`http://localhost:18081/api/v2/joongna/${encodeURIComponent(
keyword
)}`
)
......@@ -17,7 +17,7 @@ const joongnaMultiSearch = (keyword) => {
return Promise.resolve(
axios
.get(
`http://43.200.35.46:18081/api/v2/joongna/${encodeURIComponent(
`http://localhost:18081/api/v2/joongna/${encodeURIComponent(
keyword
)}`
)
......
......@@ -4,6 +4,7 @@
"password": "mamuri",
"database": "mamuri_db",
"host": "127.0.0.1",
"port": "13060",
"dialect": "mysql"
},
"test": {
......