Commit 6c6cec98 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Append irma to url only if necessary

parent eb097aee
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment