Index: document/src/reducer/linkFetchReducer.jsx =================================================================== diff -u -r03664d246de80eb85793c9f77d9f212f23e078b9 -re0a6f35c4b8d83aa51ad88b926f4177d80e7d45a --- document/src/reducer/linkFetchReducer.jsx (.../linkFetchReducer.jsx) (revision 03664d246de80eb85793c9f77d9f212f23e078b9) +++ document/src/reducer/linkFetchReducer.jsx (.../linkFetchReducer.jsx) (revision e0a6f35c4b8d83aa51ad88b926f4177d80e7d45a) @@ -38,7 +38,7 @@ const fetchData = async (wrId) => { dispatch({ type: FETCH_START }); try { - const response = await axios.get(`http://313.co.kr/php/gnuboard5/bbs/board.php?bo_table=manual&wr_id=${wrId}`, { + const response = await axios.get(`/php/gnuboard5/bbs/board.php?bo_table=manual&wr_id=${wrId}`, { headers: { 'Access-Control-Allow-Origin': '*', }, Index: document/vite.config.js =================================================================== diff -u -r9680c9eb7e7f593cafe96716c2dcb6877aa5c706 -re0a6f35c4b8d83aa51ad88b926f4177d80e7d45a --- document/vite.config.js (.../vite.config.js) (revision 9680c9eb7e7f593cafe96716c2dcb6877aa5c706) +++ document/vite.config.js (.../vite.config.js) (revision e0a6f35c4b8d83aa51ad88b926f4177d80e7d45a) @@ -20,10 +20,9 @@ allow: ['..'], }, proxy: { - '/api': { - target: 'http://313.co.kr/php/gnuboard5/bbs/board.php?bo_table=manual', - changeOrigin: true, - rewrite: (path) => path.replace(/^\/api/, ''), + '/php': { + target: 'http://313.co.kr', + changeOrigin: true }, }, },