Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-console
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Javier Larrosa
web-console
Commits
85b5f6ff
Commit
85b5f6ff
authored
Oct 01, 2021
by
ajlarrosa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fxi en rutas
parent
4670eafa
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
.eslintcache
web/.eslintcache
+1
-1
Home.tsx
web/src/components/Home.tsx
+1
-1
Signin.tsx
web/src/components/Signin.tsx
+1
-1
No files found.
web/.eslintcache
View file @
85b5f6ff
This diff is collapsed.
Click to expand it.
web/src/components/Home.tsx
View file @
85b5f6ff
...
...
@@ -47,7 +47,7 @@ const Home = () => {
</
header
>
<
main
className=
"home-content-main main-content-container"
>
<
Switch
>
<
Route
exact
path=
{
`/`
}
component=
{
MainPage
}
/>
<
Route
exact
path=
{
`/`
}
component=
{
Signin
}
/>
<
Route
path=
{
`/signin`
}
component=
{
Signin
}
/>
</
Switch
>
</
main
>
...
...
web/src/components/Signin.tsx
View file @
85b5f6ff
...
...
@@ -10,7 +10,7 @@ import apiRouters from '../config/api_routers';
const
Signin
=
(
props
:
RouteComponentProps
)
=>
{
React
.
useEffect
(()
=>
{
window
.
addEventListener
(
'message'
,
(
event
)
=>
{
if
(
event
.
origin
!==
process
.
env
.
REACT_APP_CLUSTER_URL
)
return
;
if
(
!
event
.
origin
.
includes
(
process
.
env
.
REACT_APP_CLUSTER_URL
!
)
)
return
;
doSignin
(
event
.
data
);
});
},
[]);
...
...
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