inngest / inngestgo

Durable execution in Go with the Golang Inngest SDK. Write durable functions in your existing app.
https://pkg.go.dev/github.com/inngest/inngestgo
Apache License 2.0
29 stars 3 forks source link

Fix reported URL #19

Closed ozanmakes closed 1 year ago

ozanmakes commented 1 year ago

Before this change, the code was reporting relative url such as /api/inngest to dev server. This fixes it to have the correct url for discovery.

This fixes #18 for me, but beware that I only tested it locally with Dev Server.

Edit: I'm using this on production and it seems to work with Inngest Cloud as well

tonyhb commented 1 year ago

@osener Thanks! Merging and releasing today.