Skip to content

Commit

Permalink
testing basename attribute to fix deployment issues when refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
dllopis committed Feb 15, 2024
1 parent e0e47c4 commit 6610780
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,13 @@ const App = () => {
<Router basename={process.env.PUBLIC_URL}>
<NavigationBar />
<Routes>

<Route path="/cryptography-networking-study-app/" element={<Home />} />
<Route path="/cryptography-networking-study-app/chapter/1/flashcards" element={<KeyTermsCarousel chapter="1" />} />
<Route path="/cryptography-networking-study-app/chapter/1" element={<KeyTerms chapter="1" />} />
<Route path="/cryptography-networking-study-app/chapter/1/multiplechoicequiz" element={<PrepareQuiz chapter="1" />} />
<Route path="/cryptography-networking-study-app/Chapter/1/flashcards" element={<KeyTermsCarousel chapter="1" />} />
<Route path="/cryptography-networking-study-app/Chapter/1" element={<KeyTerms chapter="1" />} />
<Route path="/cryptography-networking-study-app/Chapter/1/multiplechoicequiz" element={<PrepareQuiz chapter="1" />} />
<Route path="/" element={<Home />} />
<Route path="/Chapter/1/flashcards" element={<KeyTermsCarousel chapter="1" />} />
<Route path="/Chapter/1" element={<KeyTerms chapter="1" />} />
<Route path="/Chapter/1/multiplechoicequiz" element={<PrepareQuiz chapter="1" />} />
</Routes>
</Router>
);
};
};

export default App;

0 comments on commit 6610780

Please sign in to comment.