mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
update log
This commit is contained in:
@@ -2,6 +2,7 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
@@ -52,7 +53,11 @@ 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
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user