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
d271b48e
Commit
d271b48e
authored
Mar 18, 2020
by
Adrian
Browse files
cambiando la ruta a boliviasegura
parent
59ffa154
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/index.html
View file @
d271b48e
...
...
@@ -6,7 +6,7 @@
<title>
.:: Sitio ::.
</title>
<link
rel=
"stylesheet"
href=
"./style.css"
>
<script
type=
"text/javascript"
>
var
baseURL
=
'
http
s
://
boliviasegura.gob.bo/admin-api
'
;
var
baseURL
=
'
http://
localhost:5000
'
;
function
login
()
{
service
(
baseURL
+
'
/login
'
,
{
usuario
:
document
.
getElementById
(
'
user
'
).
value
,
...
...
@@ -51,7 +51,7 @@
document
.
querySelector
(
'
#description
'
).
value
=
''
;
alert
(
'
Mensaje enviado
'
);
}
else
{
alert
(
'
El token expir
o
, por favor vuelva a
logue
arse
'
);
alert
(
'
E
stimado usuario e
l token expir
ó
, por favor vuelva a
autentic
arse
'
);
document
.
getElementById
(
'
user
'
).
value
=
''
;
document
.
getElementById
(
'
password
'
).
value
=
''
;
document
.
getElementById
(
'
login
'
).
style
.
display
=
'
block
'
;
...
...
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