mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 21:52:19 +00:00
0.1.0 Split repos, Add API docs, new env vars
This commit is contained in:
parent
cf4498e8bc
commit
306bab997b
55 changed files with 19278 additions and 11 deletions
|
@ -61,6 +61,11 @@ func main() {
|
|||
panic("FRONTEND_DIRECTORY required in .env")
|
||||
}
|
||||
|
||||
goscrobble.ApiDocsDirectory = os.Getenv("API_DOCS_DIRECTORY")
|
||||
if goscrobble.ApiDocsDirectory == "" {
|
||||
panic("API_DOCS_DIRECTORY required in .env")
|
||||
}
|
||||
|
||||
// Ignore reverse proxies
|
||||
goscrobble.ReverseProxies = strings.Split(os.Getenv("REVERSE_PROXIES"), ",")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue