fix logo mobile background overlap
This commit is contained in:
parent
2e8fa14df9
commit
7791fa2ab4
3 changed files with 4 additions and 33 deletions
10
node.go
10
node.go
|
@ -8,15 +8,12 @@ import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"sync"
|
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
authCode string
|
authCode string
|
||||||
peers []string
|
peers []string
|
||||||
authMutex sync.Mutex
|
|
||||||
authenticated = make(map[string]bool)
|
|
||||||
hostID string
|
hostID string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -27,13 +24,6 @@ type Message struct {
|
||||||
VisitedNodes []string `json:"visitedNodes"`
|
VisitedNodes []string `json:"visitedNodes"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CrawlerConfig struct {
|
|
||||||
ID string
|
|
||||||
Host string
|
|
||||||
Port int
|
|
||||||
AuthCode string
|
|
||||||
}
|
|
||||||
|
|
||||||
func loadNodeConfig() {
|
func loadNodeConfig() {
|
||||||
config := loadConfig()
|
config := loadConfig()
|
||||||
authCode = config.AuthCode
|
authCode = config.AuthCode
|
||||||
|
|
20
printing.go
20
printing.go
|
@ -48,23 +48,3 @@ func logMessage(level string, format string, args ...interface{}) {
|
||||||
fmt.Printf("[%s] %s\n", timestamp, message)
|
fmt.Printf("[%s] %s\n", timestamp, message)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////
|
|
||||||
|
|
||||||
func printErrf(format string, args ...interface{}) {
|
|
||||||
if config.LogLevel >= 1 {
|
|
||||||
logMessage("ERROR", fmt.Sprintf(format, args...))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func printWarnf(format string, args ...interface{}) {
|
|
||||||
if config.LogLevel >= 2 {
|
|
||||||
logMessage("WARN", fmt.Sprintf(format, args...))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func printInfof(format string, args ...interface{}) {
|
|
||||||
if config.LogLevel >= 3 {
|
|
||||||
logMessage("INFO", fmt.Sprintf(format, args...))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1680,6 +1680,7 @@ body, h1, p, a, input, button {
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
|
background-color: var(--search-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-none {
|
.mobile-none {
|
||||||
|
|
Loading…
Add table
Reference in a new issue