mirror of
https://github.com/portainer/portainer.git
synced 2025-07-28 09:49:40 +02:00
refactor(api): update the way keyFile parameter is managed
This commit is contained in:
parent
c5ddae12cf
commit
0ec20d3093
2 changed files with 5 additions and 5 deletions
|
@ -21,7 +21,7 @@ func newHandler(dir string, d string, e string, c Config, tlsFlags TLSFlags) htt
|
|||
}
|
||||
|
||||
handler := newAPIHandler(u, tlsFlags)
|
||||
CSRFHandler := newCSRFHandler(d, authKeyFile)
|
||||
CSRFHandler := newCSRFHandler(d)
|
||||
|
||||
mux.Handle("/dockerapi/", http.StripPrefix("/dockerapi", handler))
|
||||
mux.Handle("/", fileHandler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue