Skip to content

Commit

Permalink
refactor: update listen port to 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
mmartinalo committed Sep 19, 2024
1 parent 1286d91 commit 1ad8cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var (
type EnvConfig struct {
ClientID string `env:"SPOTIFY_CLIENT_ID,required"`
ClientSecret string `env:"SPOTIFY_CLIENT_SECRET,required"`
BaseURL *url.URL `env:"SPOTIFY_PROXY_BASE_URI" envDefault:"http://localhost:27228"`
BaseURL *url.URL `env:"SPOTIFY_PROXY_BASE_URI" envDefault:"http://localhost:8080"`
APIKey string `env:"SPOTIFY_PROXY_API_KEY"`
}

Expand Down Expand Up @@ -82,7 +82,7 @@ func main() {
http.HandleFunc("/spotify_callback", SpotifyCallback)
http.HandleFunc("/health", HealthCheck)

log.Fatal(http.ListenAndServe(":27228", nil))
log.Fatal(http.ListenAndServe(":8080", nil))
}

// APIToken is the endpoint for refreshing API tokens
Expand Down

0 comments on commit 1ad8cc5

Please sign in to comment.