Merge pull request #1228 from umap-project/url-in-cors-message
Add target URL in CORS error message
This commit is contained in:
commit
2821cfba86
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ 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): {url}',
|
||||
{ url: settings.uri }
|
||||
),
|
||||
level: 'error',
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue