Commit d5680f72 authored by Adrian's avatar Adrian
Browse files

cambiando la ruta a boliviasegura

parent fb2d919f
......@@ -6,7 +6,7 @@
<title>.:: Sitio ::.</title>
<link rel="stylesheet" href="./style.css">
<script type="text/javascript">
var baseURL = 'http://localhost:5000';
var baseURL = 'https://boliviasegura.gob.bo/admin-api';
function login () {
service(baseURL + '/login', {
usuario: document.getElementById('user').value,
......@@ -50,6 +50,8 @@
alert('Mensaje enviado');
} else {
alert('El token expiro, por favor vuelva a loguearse');
document.getElementById('user').value = '';
document.getElementById('password').value = '';
document.getElementById('login').style.display = 'block';
document.getElementById('data').style.display = 'none';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment