MAJOR migration fixes for hybrid usage

This commit is contained in:
frikky
2021-03-21 19:38:16 +01:00
parent 6574f122f1
commit d4d704f170
8 changed files with 1270 additions and 4227 deletions
+3 -1
View File
@@ -2,6 +2,8 @@ package main
// Docker
import (
"github.com/frikky/shuffle-shared"
"archive/tar"
"path/filepath"
@@ -797,7 +799,7 @@ func getDockerImage(resp http.ResponseWriter, request *http.Request) {
}
// Just here to verify that the user is logged in
_, err := handleApiAuthentication(resp, request)
_, err := shuffle.HandleApiAuthentication(resp, request)
if err != nil {
log.Printf("Api authentication failed in validate swagger: %s", err)
resp.WriteHeader(401)