1
0
Fork 0
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:
Anthony Lapenna 2016-07-31 17:46:05 +12:00
parent c5ddae12cf
commit 0ec20d3093
2 changed files with 5 additions and 5 deletions

View file

@ -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)