mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-11-01 06:35:43 +00:00
fix: split domain correctly
This commit is contained in:
@@ -36,6 +36,8 @@ func Run(config types.Config, users types.UserList) {
|
||||
|
||||
domain, domainErr := utils.GetRootURL(config.AppURL)
|
||||
|
||||
log.Info().Str("domain", domain).Msg("Using domain")
|
||||
|
||||
if domainErr != nil {
|
||||
log.Fatal().Err(domainErr).Msg("Failed to get domain")
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user