Skip to content

Commit

Permalink
Use ROOT_PATH for configure-beta paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Sep 24, 2024
1 parent fbee547 commit da7600c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 47 deletions.
6 changes: 4 additions & 2 deletions configure/src/core/constants.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export const publicUrl =
/*process.env.REACT_APP_PUBLIC_URL ||*/ "configure-beta";
export const publicUrl = `${(window.mmgisglobal.ROOT_PATH || "").replace(
/^\/|\/$/g,
""
)}/configure-beta`;

export const endpoints = {};

Expand Down
45 changes: 0 additions & 45 deletions configure/src/core/routes/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,51 +23,6 @@ export const Routings = () => {
</div>
}
/>
{/*
<Route
exact
path={HASH_PATHS.search}
component={() => {
return (
<div className="routeContent">
<Search />
</div>
)
}}
/>
<Route
exact
path={HASH_PATHS.record}
component={() => {
return (
<div className="routeContent">
<Record />
</div>
)
}}
/>
<Route
exact
path={HASH_PATHS.cart}
component={() => {
return (
<div className="routeContent">
<Cart />
</div>
)
}}
/>
<Route
path={HASH_PATHS.fileExplorer}
component={() => {
return (
<div className="routeContent">
<FileExplorer />
</div>
)
}}
/>
*/}
</Routes>
</div>
</Router>
Expand Down

0 comments on commit da7600c

Please sign in to comment.