mirror of
https://github.com/tlsnotary/website.git
synced 2026-01-08 22:38:08 -05:00
remove path prefix
This commit is contained in:
@@ -8,7 +8,7 @@ import './config'
|
||||
|
||||
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
|
||||
root.render(
|
||||
<BrowserRouter basename={process.env.PUBLIC_URL}>
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route index element={<HomePage />} />
|
||||
</Routes>
|
||||
|
||||
@@ -10,7 +10,7 @@ module.exports = {
|
||||
mode: "development",
|
||||
output: {
|
||||
path: path.resolve(__dirname, "build"),
|
||||
publicPath: "/landing-page/",
|
||||
publicPath: "/",
|
||||
},
|
||||
resolve: {
|
||||
extensions: ["*", ".js", ".jsx", ".ts", ".tsx", ".json"],
|
||||
|
||||
Reference in New Issue
Block a user