Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Preview with --api-host doesn't reflect in the docs #161

Closed
bhenderson opened this issue Sep 25, 2017 · 4 comments
Closed

Preview with --api-host doesn't reflect in the docs #161

bhenderson opened this issue Sep 25, 2017 · 4 comments

Comments

@bhenderson
Copy link

When I use apiary preview --api-host=my.host.dev all the generated URLs still contain example.tld

Am I doing something wrong?

thanks,

@tu1ly
Copy link
Contributor

tu1ly commented Sep 25, 2017

api-host is host of apiary API which is called by client (it has no sense for preview command), it is used for debugging purposes during the development only. imho we should remove it from the documentation

@bhenderson
Copy link
Author

I see, is there a way to change the HOST value from the command line? I want to set it to me.dev for the preview server command for testing the apis locally.

@tu1ly
Copy link
Contributor

tu1ly commented Sep 26, 2017

is there a way to change the HOST value from the command line - unfortunately no - but feel free to submit a pull request :)

@bhenderson
Copy link
Author

@tu1ly where would I start to look? 'example.tld' isn't in the client repo.

thanks,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants