mirror of
https://github.com/Luzifer/mondash.git
synced 2024-11-09 16:10:01 +00:00
Fix: Use BaseURL from config
This commit is contained in:
parent
6d5375e55a
commit
d975f946de
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue