Skip to content
Snippets Groups Projects
Unverified Commit 00223821 authored by Noah Moss's avatar Noah Moss Committed by GitHub
Browse files

Add extra geojson content type (#46427)

parent 5ba895be
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,7 @@
(throw (ex-info (tru "GeoJSON URL failed to load") {:status-code 400}))))
success? (<= 200 (:status resp) 399)
allowed-content-types #{"application/geo+json"
"application/vnd.geo+json"
"application/json"
"text/plain"}
ok-content-type? (some #(str/starts-with? (get-in resp [:headers :content-type]) %)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment