IHTSDO / SNOMED-in-5-minutes

Easy-to-use tutorials for accessing SNOMED APIs within 5 min using various programming languages
Other
123 stars 56 forks source link

Unnecessary slash end of baseUrl #16

Closed blaskodaniel closed 4 years ago

blaskodaniel commented 4 years ago

Hi, I noticed a small mistake here: https://github.com/IHTSDO/SNOMED-in-5-minutes/blob/ed36b9dec27a397b0237524890021d351d5347d0/javascript-examples/app.js#L10

This may cause a CORS error. It should be deleted the last slash: var baseUrl = "https://browser.ihtsdotools.org/snowstorm/snomed-ct/v2/"; => var baseUrl = "https://browser.ihtsdotools.org/snowstorm/snomed-ct/v2";

kaicode commented 4 years ago

Thanks @blaskodaniel, that's fixed now.