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

[Feature] All HyP3 API URLs can end with '/' #281

Open
jacquelynsmale opened this issue Mar 12, 2024 · 0 comments
Open

[Feature] All HyP3 API URLs can end with '/' #281

jacquelynsmale opened this issue Mar 12, 2024 · 0 comments

Comments

@jacquelynsmale
Copy link

Is your feature request related to a problem? Please describe.
When changing the HyP3 API URL in Preferences > On Demand Presets to an API other than hyp3-api, if there is a / at the end of the URL (ex: https://hyp3-test.asf.alaska.edu/ instead of https://hyp3-test.asf.alaska.edu), the job will get an error on submission.
Note that when the API is hyp3-api, the '/' at the end of URL will successfully submit a job (i.e. https://hyp3-api.asf.alaska.edu/ and https://hyp3-api.asf.alaska.edu both successfully submit jobs).

Describe the solution you'd like
All HyP3 API URLs will be recognized even with the trailing '/' (ex: https://hyp3-test.asf.alaska.edu/ is a valid URL).

Describe alternatives you've considered
One could simply add the correct URL without the trailing '/'.

Additional context
While this isn't necessarily a breaking bug, it did cause some confusion on my end and might warrant a minor fix. Also, the actual number of users who will come across this issue is minimal. Feel free to ignore this issue, too!

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

No branches or pull requests

1 participant