Fix cosmos explorer incorrect redirect

This commit is contained in:
Pijus Kamandulis
2024-11-14 18:42:17 +02:00
parent 2834f3f641
commit c7d01b4593
6 changed files with 22 additions and 15 deletions

View File

@@ -10,6 +10,7 @@ import (
func runTestServer() *httptest.Server {
config.Config.AccountKey = config.DefaultAccountKey
config.Config.ExplorerPath = "/tmp/nothing"
config.Config.ExplorerBaseUrlLocation = config.ExplorerBaseUrlLocation
return httptest.NewServer(api.CreateRouter())
}