Skip to content

Commit

Permalink
Merge pull request #38 from berty/dev/moul/fix-packr-config
Browse files Browse the repository at this point in the history
fix: fix packr config
  • Loading branch information
moul authored Mar 2, 2020
2 parents 073a964 + c215ffc commit 4fdc239
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
vendor/
coverage.txt
packrd/
*-packr.go

# Junk files
*~
Expand Down
2 changes: 1 addition & 1 deletion pkg/yolosvc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func NewServer(ctx context.Context, svc Service, opts ServerOpts) (*Server, erro
r.Get("/artifact-dl", svc.ArtifactDownloader)
})

box := packr.New("web", "./web")
box := packr.New("web", "../../web")
chiutil.FileServer(r, "/", box)

httpListener, err := net.Listen("tcp", opts.HTTPBind)
Expand Down

0 comments on commit 4fdc239

Please sign in to comment.