Skip to content

Commit

Permalink
Merge branch 'master' of github.com:usefathom/fathom
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Dec 17, 2018
2 parents c82f27f + 1b7ecfe commit e7b6613
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM golang:latest AS binarybuilder
WORKDIR /go/src/github.com/usefathom/fathom
COPY . /go/src/github.com/usefathom/fathom
COPY --from=assetbuilder /app/assets/build ./assets/build
RUN go get -u github.com/gobuffalo/packr/... && make docker
RUN make docker

FROM alpine:latest
EXPOSE 8080
Expand Down
2 changes: 1 addition & 1 deletion assets/src/js/lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Client.request = function(url, args) {
// trim leading slash from URL
url = (url[0] === '/') ? url.substring(1) : url;

return window.fetch(`/api/${url}`, args)
return window.fetch(`api/${url}`, args)
.then(handleRequestErrors)
.then(parseJSON)
.then(parseData)
Expand Down
28 changes: 21 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7b6613

Please sign in to comment.