fix logo mobile background overlap

This commit is contained in:
partisan 2024-08-10 14:10:38 +02:00
parent 2e8fa14df9
commit 7791fa2ab4
3 changed files with 4 additions and 33 deletions

16
node.go
View file

@ -8,16 +8,13 @@ import (
"io/ioutil"
"log"
"net/http"
"sync"
"time"
)
var (
authCode string
peers []string
authMutex sync.Mutex
authenticated = make(map[string]bool)
hostID string
authCode string
peers []string
hostID string
)
type Message struct {
@ -27,13 +24,6 @@ type Message struct {
VisitedNodes []string `json:"visitedNodes"`
}
type CrawlerConfig struct {
ID string
Host string
Port int
AuthCode string
}
func loadNodeConfig() {
config := loadConfig()
authCode = config.AuthCode