diff --git a/src/main/lemondronor/advisorycircular.cljs b/src/main/lemondronor/advisorycircular.cljs index aec3925..fc89367 100644 --- a/src/main/lemondronor/advisorycircular.cljs +++ b/src/main/lemondronor/advisorycircular.cljs @@ -116,6 +116,7 @@ "dist" (.toFixed radius-nm (if rapid-api? 0 1))] (map str) (string/join "/")) + ;; RapidAPI expects a trailing slash. (if rapid-api? "/" "")) headers (cond-> (if rapid-api? {:x-rapidapi-key api-key :x-rapidapi-host (:host (c-url/url url)) :useQueryString true}