1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-12-22 20:11:18 +00:00

Fix: Use BaseURL from config

This commit is contained in:
Knut Ahlers 2015-07-06 22:24:56 +02:00
parent 6d5375e55a
commit d975f946de

View file

@ -5,7 +5,6 @@ import (
"fmt"
"io/ioutil"
"net/http"
"os"
"sort"
"time"
@ -48,7 +47,7 @@ func handleDisplayDashboard(res http.ResponseWriter, req *http.Request) {
"dashid": params["dashid"],
"metrics": metrics,
"apikey": dash.APIKey,
"baseurl": os.Getenv("BASE_URL"),
"baseurl": cfg.BaseURL,
}, res)
}