Add UI to move faces between face groups

This commit is contained in:
viktorstrate
2021-02-20 22:43:07 +01:00
parent a3e5346501
commit 20251dedd6
11 changed files with 611 additions and 189 deletions

View File

@@ -4,6 +4,7 @@ import (
"log"
"net/http"
"path"
"time"
"github.com/gorilla/handlers"
"github.com/gorilla/mux"
@@ -88,6 +89,7 @@ func main() {
handler.GraphQL(photoview_graphql.NewExecutableSchema(graphqlConfig),
handler.IntrospectionEnabled(devMode),
handler.WebsocketUpgrader(server.WebsocketUpgrader(devMode)),
handler.WebsocketKeepAliveDuration(time.Second*10),
handler.WebsocketInitFunc(auth.AuthWebsocketInit(db)),
),
)