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