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:
+1
-1
@@ -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/>}/>
|
||||
|
||||
Reference in New Issue
Block a user