Skip to content

Commit ff35142

Browse files
authored
Merge pull request #30 from Aksh-Bansal-dev/main
fix: remove unnecessary base url in routes
2 parents 78069f9 + 8b9f55b commit ff35142

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

frontend/src/index.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@ import Theme from "./theme/theme";
77

88
ReactDOM.render(
99
<MuiThemeProvider theme={Theme}>
10-
<HashRouter
11-
basename={
12-
window.location.hostname === "iiitdmj.ac.in" ||
13-
window.location.hostname === "www.iiitdmj.ac.in"
14-
? "/webix.iiitdmj.ac.in"
15-
: ""
16-
}
17-
>
10+
<HashRouter>
1811
<App />
1912
</HashRouter>
2013
</MuiThemeProvider>,

0 commit comments

Comments
 (0)