mirror of
https://github.com/KevinMidboe/planetposen-images.git
synced 2025-10-29 13:20:11 +00:00
Also return google bucket url in response
This commit is contained in:
@@ -9,9 +9,9 @@ import (
|
||||
|
||||
// Config contains environment variables.
|
||||
type Config struct {
|
||||
Hostname string `envconfig:"HOSTNAME"`
|
||||
GCSBucket string `envconfig:"GCS_BUCKET" default:"p"`
|
||||
Port string `envconfig:"PORT" default:"8000"`
|
||||
Hostname string `envconfig:"HOSTNAME"`
|
||||
GCSBucket string `envconfig:"GCS_BUCKET" default:"p"`
|
||||
Port string `envconfig:"PORT" default:"8000"`
|
||||
}
|
||||
|
||||
// LoadConfig reads environment variables, populates and returns Config.
|
||||
@@ -25,4 +25,4 @@ func LoadConfig() (*Config, error) {
|
||||
err := envconfig.Process("", &c)
|
||||
|
||||
return &c, err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user