Skip to content

Commit

Permalink
fix: Public URL
Browse files Browse the repository at this point in the history
  • Loading branch information
ananjaemin committed Nov 11, 2022
1 parent 5a97a4e commit 553ebe6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
PUBLIC_URL= '/'
REACT_APP_BACKEND_BASEURL=http://localhost:5000
# dev - http://localhost:5000
# main - https://tfb.minpeter.cf
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { globalStyle } from './styles';

const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
root.render(
<BrowserRouter basename={process.env.PUBLIC_URL}>
<BrowserRouter>
<Global styles={globalStyle} />
<App />
</BrowserRouter>,
Expand Down

0 comments on commit 553ebe6

Please sign in to comment.