Skip to content

Commit

Permalink
fix(config): resolve a regression for BaseURL var
Browse files Browse the repository at this point in the history
Seems like I completely forgot how this worked since I got accustomed to
writing functions in the very same way.  Pretty interesting observation.

Fixes #93
  • Loading branch information
vednoc committed Sep 29, 2021
1 parent 65e4554 commit e4ad775
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/config/config.go
Expand Up @@ -73,8 +73,9 @@ func OAuthURL() string {
func setBaseURL() {
if Production {
BaseURL = "https://userstyles.world"
} else {
BaseURL = "http://localhost" + Port
}
BaseURL = "http://localhost" + Port
}

func init() {
Expand Down

0 comments on commit e4ad775

Please sign in to comment.