fix: cargar SigWebTablet.js desde servidor ERP en vez de localhost
El JS no es servido por SigREST sino instalado en AppData del usuario. Se agrega /assets/js/SigWebTablet.js como primera URL; los puertos localhost quedan como fallback. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
f9619db8ef
commit
8ac5224425
@@ -3046,9 +3046,9 @@ function mostrarToast(msg, type = 'info', duration = 2500) {
|
||||
<script src="<?= defined('APP_URL') ? rtrim(APP_URL,'/') : '' ?>/assets/js/lab-sidebar.js"></script>
|
||||
<script>
|
||||
(function() {
|
||||
// SigWeb >=1.6.4 sirve HTTPS en :47290 (necesario cuando la app es HTTPS).
|
||||
// Intentar HTTPS primero; si falla, fallback a HTTP :47289.
|
||||
// Carga desde nuestro servidor primero; fallback a SigREST local si aún no se sube el archivo.
|
||||
var URLS = [
|
||||
'<?= rtrim(defined('APP_URL') ? APP_URL : '', '/') ?>/assets/js/SigWebTablet.js',
|
||||
'https://localhost:47290/SigWeb/SigWebTablet.js',
|
||||
'http://localhost:47289/SigWeb/SigWebTablet.js'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user