We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b280be6 + 3465fe3 commit 63c3fc1Copy full SHA for 63c3fc1
src/App.js
@@ -1,4 +1,4 @@
1
-import {BrowserRouter, Route, Routes} from "react-router-dom";
+import { HashRouter, Route, Routes } from "react-router-dom";
2
3
import Header from "./components/header/Header";
4
import Footer from "./components/footer/Footer";
@@ -17,7 +17,7 @@ import MyCommunity from "./components/mypage/MyCommunity";
17
18
function App() {
19
return (
20
- <BrowserRouter basename="/DebugVisual_FrontEnd">
+ <HashRouter>
21
<Header />
22
<Routes>
23
<Route path="/" element={<Main />} />
@@ -36,7 +36,7 @@ function App() {
36
</Route>
37
</Routes>
38
<Footer />
39
- </BrowserRouter>
+ </HashRouter>
40
);
41
}
42
0 commit comments