diff --git a/api/account/common.go b/api/account/common.go index 3e5d948..9c9102f 100644 --- a/api/account/common.go +++ b/api/account/common.go @@ -45,7 +45,7 @@ var ( isValidUsername = regexp.MustCompile(`^\w{1,16}$`).MatchString semaphore = make(chan bool, ArgonMaxInstances) - GameURL string + GameURL string OAuthCallbackURL string ) diff --git a/api/account/discord.go b/api/account/discord.go index 5bb35e7..792afe6 100644 --- a/api/account/discord.go +++ b/api/account/discord.go @@ -25,9 +25,9 @@ import ( ) var ( - DiscordClientID string + DiscordClientID string DiscordClientSecret string - DiscordCallbackURL string + DiscordCallbackURL string ) func HandleDiscordCallback(w http.ResponseWriter, r *http.Request) (string, error) { diff --git a/api/account/google.go b/api/account/google.go index e81ac88..53ee97c 100644 --- a/api/account/google.go +++ b/api/account/google.go @@ -27,9 +27,9 @@ import ( ) var ( - GoogleClientID string + GoogleClientID string GoogleClientSecret string - GoogleCallbackURL string + GoogleCallbackURL string ) func HandleGoogleCallback(w http.ResponseWriter, r *http.Request) (string, error) { diff --git a/rogueserver.go b/rogueserver.go index ba9e68b..0b007ae 100644 --- a/rogueserver.go +++ b/rogueserver.go @@ -61,11 +61,11 @@ func main() { account.DiscordClientID = *discordclientid account.DiscordClientSecret = *discordsecretid - account.DiscordCallbackURL = *callbackurl+"/auth/discord/callback" + account.DiscordCallbackURL = *callbackurl + "/auth/discord/callback" account.GoogleClientID = *googleclientid account.GoogleClientSecret = *googlesecretid - account.GoogleCallbackURL = *callbackurl+"/auth/google/callback" + account.GoogleCallbackURL = *callbackurl + "/auth/google/callback" // register gob types gob.Register([]interface{}{})