mirror of
https://gitlab.com/foxixus/neomovies-api.git
synced 2025-10-28 01:48:51 +05:00
Bug fix
This commit is contained in:
@@ -16,7 +16,6 @@ GMAIL_APP_PASSWORD=
|
|||||||
# Players
|
# Players
|
||||||
LUMEX_URL=
|
LUMEX_URL=
|
||||||
ALLOHA_TOKEN=
|
ALLOHA_TOKEN=
|
||||||
VIBIX_TOKEN
|
|
||||||
|
|
||||||
# Torrents (RedAPI)
|
# Torrents (RedAPI)
|
||||||
REDAPI_BASE_URL=http://redapi.cfhttp.top
|
REDAPI_BASE_URL=http://redapi.cfhttp.top
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ type Config struct {
|
|||||||
GoogleClientSecret string
|
GoogleClientSecret string
|
||||||
GoogleRedirectURL string
|
GoogleRedirectURL string
|
||||||
FrontendURL string
|
FrontendURL string
|
||||||
VibixHost string
|
|
||||||
VibixToken string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func New() *Config {
|
func New() *Config {
|
||||||
@@ -48,8 +46,6 @@ func New() *Config {
|
|||||||
GoogleClientSecret: getEnv(EnvGoogleClientSecret, ""),
|
GoogleClientSecret: getEnv(EnvGoogleClientSecret, ""),
|
||||||
GoogleRedirectURL: getEnv(EnvGoogleRedirectURL, ""),
|
GoogleRedirectURL: getEnv(EnvGoogleRedirectURL, ""),
|
||||||
FrontendURL: getEnv(EnvFrontendURL, ""),
|
FrontendURL: getEnv(EnvFrontendURL, ""),
|
||||||
VibixHost: getEnv(EnvVibixHost, DefaultVibixHost),
|
|
||||||
VibixToken: getEnv(EnvVibixToken, ""),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user