Merge pull request #2
Log real IP address and fix textarea padding in Safari
This commit is contained in:
commit
ada165fe29
2 changed files with 5 additions and 0 deletions
|
@ -25,6 +25,10 @@
|
|||
--textarea-border-dark: #454545;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
color: var(--text-light);
|
||||
background-color: var(--bg-light);
|
||||
|
|
1
serve.go
1
serve.go
|
@ -12,6 +12,7 @@ import (
|
|||
// Serve starts the app's web server
|
||||
func Serve() {
|
||||
r := chi.NewRouter()
|
||||
r.Use(middleware.RealIP)
|
||||
r.Use(middleware.Logger, middleware.CleanPath, middleware.StripSlashes)
|
||||
r.NotFound(NotFound)
|
||||
|
||||
|
|
Loading…
Reference in a new issue