|
|
@@ -1,8 +1,8 @@
|
|
|
package main
|
|
|
|
|
|
import (
|
|
|
- "fmt"
|
|
|
"encoding/json"
|
|
|
+ "fmt"
|
|
|
"goseg/config"
|
|
|
"goseg/docker"
|
|
|
"goseg/rectify"
|
|
|
@@ -10,10 +10,10 @@ import (
|
|
|
"goseg/ws"
|
|
|
"io/ioutil"
|
|
|
"log/slog"
|
|
|
- "path/filepath"
|
|
|
"net/http"
|
|
|
"os"
|
|
|
- "time"
|
|
|
+ "path/filepath"
|
|
|
+ // "time"
|
|
|
|
|
|
"github.com/gorilla/mux"
|
|
|
)
|
|
|
@@ -65,7 +65,7 @@ func main() {
|
|
|
}
|
|
|
versionUpdateChannel <- versionUpdate
|
|
|
}()
|
|
|
- // otherwise use cached if possible, or save hardcoded defaults and use that
|
|
|
+ // otherwise use cached if possible, or save hardcoded defaults and use that
|
|
|
} else {
|
|
|
confPath := filepath.Join(config.BasePath, "settings", "version_info.json")
|
|
|
_, err := os.Open(confPath)
|