mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
b27c1fbae9
Add a suite for testing the PathPrefix feature implemented earlier to serve authelia under a multi-purpose domain. Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
11 lines
222 B
Go
11 lines
222 B
Go
package suites
|
|
|
|
// GetLoginBaseURL returns the URL of the login portal and the path prefix if specified.
|
|
func GetLoginBaseURL() string {
|
|
if PathPrefix != "" {
|
|
return LoginBaseURL + PathPrefix
|
|
}
|
|
|
|
return LoginBaseURL
|
|
}
|