Ensure apiQueryURL ends in slash in the entire app, not just when sending a query #22
Labels
bug:functional
Functional defects resulting from feature changes.
type:bug
Defects in shipped code and fixes for those defects
in #212 we added an automatic adding of a slash to the query URL:
https://github.com/neurobagel/old-query-tool/blob/81a690fd74e0c08a95079a26622f4d4ed018517a/components/QueryForm.vue#L153-L158
but this only affects the sending of the queries, not the overall apiQueryURL (e.g. for listing the nodes and options):
https://github.com/neurobagel/old-query-tool/blob/81a690fd74e0c08a95079a26622f4d4ed018517a/nuxt.config.js#L55-L58
We should make sure we add a slash if one is missing at the deepest level (maybe even immediately when we read the .env file)
The text was updated successfully, but these errors were encountered: