This message was deleted.
# ask-questions
w
This message was deleted.
f
Hi Boris. Are you self-hosting or using GrowthBook Cloud?
b
Self hosting
Is there a way to point it to the instance?
f
Yeah, when you generate features, we use GrowthBook Cloud by default. You can override the host with the
--apiBaseUrl
flag. For example:
Copy code
growthbook features generate-types --apiBaseUrl <http://localhost:3100> --output ./types
Looking at this now, we should really move the API Base URL into the login command. No reason to make you enter it every time. I'll add an issue in GitHub for this
b
Thanks mate, it worked
143 Views