Skip to content

Commit

Permalink
server/http: Fixed build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Oct 28, 2014
1 parent 590cf7a commit e4bcae3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"io"
"net/http"
"strings"

"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/gorilla/mux"
ma "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr"
Expand All @@ -22,7 +21,6 @@ type objectHandler struct {
func Serve(address ma.Multiaddr, node *core.IpfsNode) error {
r := mux.NewRouter()
objectHandler := &objectHandler{&ipfsHandler{node}}
apiHandler := &apiHandler{}

r.HandleFunc("/ipfs/", objectHandler.postHandler).Methods("POST")
r.PathPrefix("/ipfs/").Handler(objectHandler).Methods("GET")
Expand Down

0 comments on commit e4bcae3

Please sign in to comment.