More work on getting auth fetch verification working
This commit is contained in:
parent
7eac1db475
commit
9957ba8302
12 changed files with 434 additions and 205 deletions
|
@ -34,6 +34,7 @@ import (
|
|||
webutils "git.mstar.dev/mstar/goutils/http"
|
||||
|
||||
"git.mstar.dev/mstar/linstrom/web/public/api"
|
||||
webmiddleware "git.mstar.dev/mstar/linstrom/web/public/middleware"
|
||||
)
|
||||
|
||||
type Server struct {
|
||||
|
@ -61,6 +62,7 @@ func New(addr string, duckImg *string) *Server {
|
|||
Handler: webutils.ChainMiddlewares(
|
||||
handler,
|
||||
webutils.BuildLoggingMiddleware(map[string]string{"server": "public"}),
|
||||
webmiddleware.AppendFullPathMiddleware,
|
||||
),
|
||||
Addr: addr,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue