fix: minor fix for css; listen localhost for reverse proxy
This commit is contained in:
parent
1985566ae5
commit
5d06b7b2dd
2 changed files with 7 additions and 1 deletions
6
junk.css
6
junk.css
|
@ -3,9 +3,15 @@
|
|||
--back: #fdfdfd;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 1em auto;
|
||||
width: 21cm;
|
||||
max-width: 100%;
|
||||
padding: 8px 0;
|
||||
line-height: 1.5;
|
||||
background-color: var(--back);
|
||||
color: var(--fore);
|
||||
|
|
2
main.go
2
main.go
|
@ -12,7 +12,7 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
const junkaddr = "[::]:8012"
|
||||
const junkaddr = "localhost:18012"
|
||||
const proxybufsize = 4 << 10
|
||||
|
||||
type JunkConf struct {
|
||||
|
|
Loading…
Reference in a new issue