Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
6ad62712
Commit
6ad62712
authored
Oct 07, 2021
by
Kim, Subin
Browse files
Router basename 수정 완료
parent
fb6eed94
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/App.js
View file @
6ad62712
...
@@ -10,7 +10,7 @@ import ErrorPage from "./pages/ErrorPage";
...
@@ -10,7 +10,7 @@ import ErrorPage from "./pages/ErrorPage";
function
App
()
{
function
App
()
{
return
(
return
(
<
Router
basename
=
{
process
.
env
.
REACT_APP_ROUTE
_URL
}
>
<
Router
basename
=
{
process
.
env
.
PUBLIC
_URL
}
>
<
div
id
=
"
box
"
className
=
"
container mx-sm-auto
"
>
<
div
id
=
"
box
"
className
=
"
container mx-sm-auto
"
>
<
Switch
>
<
Switch
>
<
Route
exact
path
=
"
/
"
component
=
{
LoginPage
}
/
>
<
Route
exact
path
=
"
/
"
component
=
{
LoginPage
}
/
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment