Update build settings and homepage URL for forms app

Changed the homepage URL in package.json to a relative path and adjusted the build command's PUBLIC_URL. Also updated caniuse-lite version in package-lock.json and modified BrowserRouter basename in App.tsx.
This commit is contained in:
2024-08-04 22:57:18 +02:00
parent 5301940a2f
commit 97ba9cc087
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ function App() {
return (
<div className="app-container">
<Header/>
<BrowserRouter basename="/forms">
<BrowserRouter basename="/">
<Routes>
<Route path="/" element={<Home/>}/>
<Route path="/contact" element={<ContactForm/>}/>