윤준석

FIX: server db config and search api url

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