Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
id
go-sso
Commits
9ded75b5
Commit
9ded75b5
authored
Dec 19, 2019
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the URL prefix on the main webapp
parent
50b09416
Pipeline
#5400
passed with stages
in 2 minutes and 32 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
server/http.go
server/http.go
+2
-2
No files found.
server/http.go
View file @
9ded75b5
...
...
@@ -144,8 +144,8 @@ func New(loginService *LoginService, authClient authclient.Client, config *Confi
// handler, optional CSRF protection, custom HTTP headers,
// etc.
mainh
:=
http
.
NewServeMux
()
mainh
.
HandleFunc
(
"/logout"
,
h
.
handleLogout
)
mainh
.
HandleFunc
(
"/"
,
h
.
handleGrantTicket
)
mainh
.
HandleFunc
(
h
.
urlFor
(
"/logout"
)
,
h
.
handleLogout
)
mainh
.
HandleFunc
(
h
.
urlFor
(
"/"
)
,
h
.
handleGrantTicket
)
loginh
:=
login
.
New
(
mainh
,
devMgr
,
authClient
,
config
.
AuthService
,
config
.
U2FAppID
,
urlPrefix
,
...
...
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