From cd49d11e5ee7be70ac063231d8469dc3c2679338 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 24 Jul 2023 08:51:55 +0200 Subject: [PATCH] Add target URL in CORS error message fix #1226 --- umap/static/umap/js/umap.xhr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.xhr.js b/umap/static/umap/js/umap.xhr.js index fc6d1990..4855137d 100644 --- a/umap/static/umap/js/umap.xhr.js +++ b/umap/static/umap/js/umap.xhr.js @@ -95,7 +95,7 @@ L.U.Xhr = L.Evented.extend({ // 0 === request cut by user or CORS self.ui.alert({ content: L._( - 'Issue reaching that URL (network problem or CORS protection)' + 'Issue reaching that URL (network problem or CORS protection)' + ` ${settings.uri}` ), level: 'error', })