Commit dc22c199 by Juan

Cambio URL de server

1 parent afbb5171
......@@ -164,7 +164,7 @@ class hgt_soporte_incidencia(models.Model):
return()
val = {"file": self.file,
"filename":self.file_name}
r = requests.post("http://192.168.15.121:8536/upload", json=val)
r = requests.post("https://img.hgt.com.ar/upload", json=val)
rta = r.json()
img_url = rta["url"]
#html = f"""<div><img src="{img_url}&w=500&h=350" alt="" width="500px" height="350px" /> \n<a>{img_url}</a></div> \n{self.archivos}"""
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!