Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
encyclopedia-gui
Commits
134d89fc
Commit
134d89fc
authored
Jul 22, 2020
by
Lauri Himanen
Browse files
Re-enabled router rule for ignoring auth properties.
parent
2b9eb06f
Pipeline
#79164
skipped with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
client/bundle.js
View file @
134d89fc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
client/src/common/Router.js
View file @
134d89fc
...
...
@@ -64,6 +64,12 @@ function route() {
if
(
hashPath
.
lastIndexOf
(
'
/
'
)
===
(
hashPath
.
length
-
1
))
hashPath
=
hashPath
.
substring
(
0
,
hashPath
.
length
-
1
);
// Remove state parameters from authentication
let
stateIndex
=
hashPath
.
indexOf
(
'
&state
'
);
if
(
stateIndex
!=
-
1
)
{
hashPath
=
hashPath
.
substring
(
0
,
stateIndex
);
}
if
(
hashPath
.
indexOf
(
'
/
'
)
>
0
){
let
a
=
hashPath
.
split
(
'
/
'
);
command
=
a
[
0
];
...
...
Write
Preview
Supports
Markdown
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