Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
6c6cec98
Commit
6c6cec98
authored
Feb 06, 2019
by
Sietse Ringers
Browse files
Append irma to url only if necessary
parent
eb097aee
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/irmaserver/conf.go
View file @
6c6cec98
...
...
@@ -216,7 +216,9 @@ func (conf *Configuration) initialize() error {
if
!
strings
.
HasSuffix
(
conf
.
URL
,
"/"
)
{
conf
.
URL
=
conf
.
URL
+
"/"
}
conf
.
URL
=
conf
.
URL
+
"irma/"
if
!
strings
.
HasSuffix
(
conf
.
URL
,
"irma/"
)
{
conf
.
URL
=
conf
.
URL
+
"irma/"
}
// replace "port" in url with actual port
port
:=
conf
.
ClientPort
if
port
==
0
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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