mirror of
https://github.com/kkhattabi213/apm.emtusahuelva.es.git
synced 2026-03-31 15:06:24 +02:00
fix de imagenes de aviso, error de httpss en vez de https
This commit is contained in:
@@ -4769,8 +4769,8 @@ function imgConverter(url) {
|
||||
trueUrl = 'https://www.emtusahuelva.com/' + url
|
||||
}
|
||||
} else {
|
||||
if (url.indexOf('http://www.emtusahuelva') != 1) {
|
||||
trueUrl = url.replace('http', 'https')
|
||||
if (url.indexOf('http://www.emtusahuelva') == 0) {
|
||||
trueUrl = url.replace('http://', 'https://')
|
||||
} else {
|
||||
trueUrl = url
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user