Skip to content

Commit 63c3fc1

Browse files
authored
Merge pull request #19 from DMU-DebugVisual/inseong
HashRouter 로 변경
2 parents b280be6 + 3465fe3 commit 63c3fc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/App.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {BrowserRouter, Route, Routes} from "react-router-dom";
1+
import { HashRouter, Route, Routes } from "react-router-dom";
22

33
import Header from "./components/header/Header";
44
import Footer from "./components/footer/Footer";
@@ -17,7 +17,7 @@ import MyCommunity from "./components/mypage/MyCommunity";
1717

1818
function App() {
1919
return (
20-
<BrowserRouter basename="/DebugVisual_FrontEnd">
20+
<HashRouter>
2121
<Header />
2222
<Routes>
2323
<Route path="/" element={<Main />} />
@@ -36,7 +36,7 @@ function App() {
3636
</Route>
3737
</Routes>
3838
<Footer />
39-
</BrowserRouter>
39+
</HashRouter>
4040
);
4141
}
4242

0 commit comments

Comments
 (0)