Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
agetic
sitio-firebase
Commits
d5680f72
Commit
d5680f72
authored
Mar 18, 2020
by
Adrian
Browse files
cambiando la ruta a boliviasegura
parent
fb2d919f
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/index.html
View file @
d5680f72
...
...
@@ -6,7 +6,7 @@
<title>
.:: Sitio ::.
</title>
<link
rel=
"stylesheet"
href=
"./style.css"
>
<script
type=
"text/javascript"
>
var
baseURL
=
'
http://
localhost:5000
'
;
var
baseURL
=
'
http
s
://
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
'
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment