aboutsummaryrefslogtreecommitdiffstats
path: root/commands/webui.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-29 18:58:42 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-29 18:58:42 +0200
commit8fa0b258ac89781dae269790a4bde09cbcd2f324 (patch)
treeb9bcf0826f5739f128de52123447cede23291c02 /commands/webui.go
parent6363518c85cbd8247a5f6507b8a1dd3903cfb71d (diff)
downloadgit-bug-8fa0b258ac89781dae269790a4bde09cbcd2f324.tar.gz
cleaning
Diffstat (limited to 'commands/webui.go')
-rw-r--r--commands/webui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/webui.go b/commands/webui.go
index 80bda980..ce444268 100644
--- a/commands/webui.go
+++ b/commands/webui.go
@@ -2,7 +2,7 @@ package commands
import (
"fmt"
- "github.com/MichaelMure/git-bug/graphql2"
+ "github.com/MichaelMure/git-bug/graphql"
"github.com/MichaelMure/git-bug/webui"
"github.com/gorilla/mux"
"github.com/phayes/freeport"
@@ -33,7 +33,7 @@ func runWebUI(cmd *cobra.Command, args []string) error {
// Routes
router.Path("/playground").Handler(handler.Playground("git-bug", "/graphql"))
- router.Path("/graphql").Handler(graphql2.NewHandler(repo))
+ router.Path("/graphql").Handler(graphql.NewHandler(repo))
router.PathPrefix("/").Handler(http.FileServer(webui.WebUIAssets))
open.Run(webUiAddr)