Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check to validate API urls #206

Open
PaulAdamDavis opened this issue Oct 3, 2022 · 0 comments
Open

Add check to validate API urls #206

PaulAdamDavis opened this issue Oct 3, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@PaulAdamDavis
Copy link
Member

The Ghost Admin API client needs the base URL for a site. If a path like example.ghost.io/ghost/api/admin is added, the tools fail.

A validation step should be added in both the interactive prompt and CLI to ensure a supplied URL is valid before continuing.

@PaulAdamDavis PaulAdamDavis added the enhancement New feature or request label Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant