Fix asset paths and routing issues

- Fix asset paths from /react/templateassets/ to /react/assets/
- Fix missing slash in asset paths (/reactassets/ to /react/assets/)
- Update environment.jsx to ensure base_path always has trailing slash
- Fix BrowserRouter basename configuration
- Update Header.jsx exclusionArray paths
- Fix themeSettings and rightSidebar asset paths
This commit is contained in:
tuanOts
2025-05-25 02:11:19 +07:00
parent a32097fb4a
commit 37f11dc23a
6 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ if (rootElement) {
root.render(
<React.StrictMode>
<Provider store={store} >
<BrowserRouter basename={base_path}>
<BrowserRouter basename={process.env.PUBLIC_URL}>
<AllRoutes />
</BrowserRouter>