From 4f232f662303271d1fe87bf9359983758d157c70 Mon Sep 17 00:00:00 2001 From: sinu <65924192+sinui0@users.noreply.github.com> Date: Mon, 26 Sep 2022 23:52:31 -0700 Subject: [PATCH] remove path prefix --- src/index.tsx | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 86f8201..e3d6e64 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -8,7 +8,7 @@ import './config' const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement); root.render( - + } /> diff --git a/webpack.config.js b/webpack.config.js index a338343..50b8d83 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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"],