Add target URL in CORS error message

fix #1226
This commit is contained in:
Yohan Boniface 2023-07-24 08:51:55 +02:00
parent a9d612bf6c
commit cd49d11e5e

View file

@ -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',
})