Oh right, after browser
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
98a4b28e8b
commit
450bf3631c
|
@ -21,10 +21,6 @@ var (
|
|||
)
|
||||
|
||||
func main() {
|
||||
ApiURL = os.Getenv("APIURL")
|
||||
if ApiURL == "" {
|
||||
log.Fatalln("Unable to get API URL from environment variables!")
|
||||
}
|
||||
homepage := NewHomepage()
|
||||
aboutpage := NewAboutPage()
|
||||
galaxiespage := NewGalaxiesPage()
|
||||
|
@ -44,6 +40,11 @@ func main() {
|
|||
// It exits immediately on the server side
|
||||
app.RunWhenOnBrowser()
|
||||
|
||||
ApiURL = os.Getenv("APIURL")
|
||||
if ApiURL == "" {
|
||||
log.Fatalln("Unable to get API URL from environment variables!")
|
||||
}
|
||||
|
||||
icon := &app.Icon{
|
||||
Default: "/web/static/images/icon-small.png",
|
||||
Large: "/web/static/images/icon.png",
|
||||
|
|
Loading…
Reference in New Issue