diff --git a/ui/public/index.html b/ui/public/index.html index d3daf0bd2d3bb26645b5aae6f2fba96937094467..ff00a72b796f8184ad530192d0eb0d7e1dbe1886 100644 --- a/ui/public/index.html +++ b/ui/public/index.html @@ -32,7 +32,7 @@ <p>El servicio de Sello de Tiempo de BFA permite demostrar que el contenido de cualquier documento digital existió en un momento y que desde entonces, no ha cambiado. Al sellar un archivo, cualquiera podrá verificar el dÃa y la hora en que su hash fue almacenado en Blockchain Federal Argentina. Tené en cuenta que el documento seleccionado nunca se sube a la red, garantizando su privacidad.</p> <p class="font_small"><a href="https://bfa.ar/sello">Si tenés un archivo con Recibo Digital (.rd) verificalo aquÃ</a></p> <div id="app" - apiurl="https://tsa2.buenosaires.gob.ar" + apiurl="10.10.0.7:3000" lb_00=" El archivo " lb_01=" fue enviado con éxito para ser sellado" lb_02="Se ha producido un error al intentar sellar " diff --git a/ui/src/components/DropFile.vue b/ui/src/components/DropFile.vue index cc65ded402b5c0ace4313922e4c2052b438f83ec..3e49a640808b383cd79b1b2af5eed605786dfa45 100644 --- a/ui/src/components/DropFile.vue +++ b/ui/src/components/DropFile.vue @@ -157,9 +157,10 @@ export default { var self = this; self.verifyCounter = 0; for (let i = 0; i < self.uploadedFiles.length; i++) { - + var h = self.allHashes[i]; - let verifyUrl = `${this.apiurl}/verify/`+h + let verifyUrl = `http://${this.apiurl}/verify/`+h + console.log(`${this.apiurl}/verify/`+h) self.loading = true axios.get(verifyUrl).then((res) => { //console.log(res.data) @@ -195,7 +196,7 @@ export default { }, verifybyURL(h){ var self = this; - let verifyUrl = `${this.apiurl}/verify/`+h + let verifyUrl = `http://${this.apiurl}/verify/`+h self.loading = true axios.get(verifyUrl).then((res) => { //console.log(res.data) @@ -215,7 +216,7 @@ export default { stamp() { var self = this; - let stampUrl = `${self.apiurl}/stamp` + let stampUrl = `http://${self.apiurl}/stamp` self.loading = true axios.post(stampUrl, { hashes: self.allHashes