Index: document/.env =================================================================== diff -u -r4e0101938600b3c890feeefa4fbc1e6be914b130 -r0891135d3bb8576106cb29c5a09d1920e3dc713b --- document/.env (.../.env) (revision 4e0101938600b3c890feeefa4fbc1e6be914b130) +++ document/.env (.../.env) (revision 0891135d3bb8576106cb29c5a09d1920e3dc713b) @@ -1,7 +1,7 @@ # // Running locally -NODE_ENV=development +#NODE_ENV=development VITE_BASE_URL=https://313.co.kr/document/dist VITE_API_URL=https://313.co.kr # // Running production build -# NODE_ENV=production +NODE_ENV=production VITE_ASSET_URL=http://313.co.kr/php/gnuboard5/bbs/board.php?bo_table=manual \ No newline at end of file Index: document/src/main.jsx =================================================================== diff -u -r67d71c7a47ed4340222b79fa2c516509ca249df7 -r0891135d3bb8576106cb29c5a09d1920e3dc713b --- document/src/main.jsx (.../main.jsx) (revision 67d71c7a47ed4340222b79fa2c516509ca249df7) +++ document/src/main.jsx (.../main.jsx) (revision 0891135d3bb8576106cb29c5a09d1920e3dc713b) @@ -1,15 +1,15 @@ -import { StrictMode } from 'react' -import { createRoot } from 'react-dom/client' +import { StrictMode } from 'react'; +import { createRoot } from 'react-dom/client'; import App from '@/App'; -import { BrowserRouter } from 'react-router-dom' +import { BrowserRouter } from 'react-router-dom'; // 빌드시 env 설정에 따라 Dev 와 Prod 베이스 URL 설정 -const baseName = import.meta.env.DEV ? "/" : "/document/dist"; +//const baseName = import.meta.env.DEV ? "/" : "/document/dist"; createRoot(document.getElementById('root')).render( {/* -- React-Router-dom -- BrowserRouter : URL 변경 시 렌더링할 컴포넌트 */} - + {/* */}