mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(api): introduce cache busting mechanism (#439)
This commit is contained in:
parent
ecc8857a32
commit
6e98237419
8 changed files with 466 additions and 395 deletions
|
@ -63,7 +63,7 @@ func (server *Server) Start() error {
|
|||
endpointHandler.server = server
|
||||
var uploadHandler = NewUploadHandler(middleWareService)
|
||||
uploadHandler.FileService = server.FileService
|
||||
var fileHandler = http.FileServer(http.Dir(server.AssetsPath))
|
||||
var fileHandler = newFileHandler(server.AssetsPath)
|
||||
|
||||
server.Handler = &Handler{
|
||||
AuthHandler: authHandler,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue