update log

This commit is contained in:
nikk gitanes
2021-08-15 10:47:45 +03:00
parent b7682545e1
commit 2c1a5669ae
4 changed files with 14 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ package main
import ( import (
"context" "context"
"fmt"
"io/ioutil" "io/ioutil"
"net" "net"
"os" "os"
@@ -52,6 +53,10 @@ func main() {
settings.Path = params.Path settings.Path = params.Path
settings.HttpAuth = params.HttpAuth settings.HttpAuth = params.HttpAuth
log.Init(params.LogPath, params.WebLogPath) log.Init(params.LogPath, params.WebLogPath)
fmt.Println("=========== START ===========")
if params.HttpAuth {
log.TLogln("Use HTTP Auth file", settings.Path, "/ accs.db")
}
dnsResolve() dnsResolve()
Preconfig(params.DontKill) Preconfig(params.DontKill)
@@ -90,6 +95,8 @@ func dnsResolve() {
addrs, err = net.LookupHost("www.google.com") addrs, err = net.LookupHost("www.google.com")
log.TLogln("Check cloudflare dns", addrs, err) log.TLogln("Check cloudflare dns", addrs, err)
} else {
log.TLogln("Check dns OK", addrs, err)
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -46,7 +46,7 @@ export const Section = styled.section`
padding: 20px; padding: 20px;
> span { > span {
font-size: 20px; font-size: 22px;
display: block; display: block;
margin-bottom: 15px; margin-bottom: 15px;
} }
@@ -87,7 +87,7 @@ export const LinkWrapper = styled.a`
align-items: center; align-items: center;
justify-content: start; justify-content: start;
border: 1px solid; border: 1px solid;
padding: 10px; padding: 7px 10px;
border-radius: 5px; border-radius: 5px;
text-transform: uppercase; text-transform: uppercase;
text-decoration: none; text-decoration: none;
@@ -105,7 +105,7 @@ export const LinkWrapper = styled.a`
filter: brightness(1.1); filter: brightness(1.1);
> * { > * {
transform: translateY(-1px); transform: translateY(0px);
} }
} }
` `