Răsfoiți Sursa

update ips printers

Erwin Jacimino 8 luni în urmă
părinte
comite
c8bbf702b7
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      services/print_service.py

+ 4 - 4
services/print_service.py

@@ -13,13 +13,13 @@ def get_printer_url(location: Locations) -> str:
     if DEVELOPMENT:
         return "http://localhost:5005"
     if location == Locations.BAR:
-        return "http://localhost:6010"
+        return "http://10.10.12.11:5004"
     elif location == Locations.COCTELERY:
-        return "http://localhost:6012"
+        return "http://10.10.12.12:5004"
     elif location == Locations.PIZZAS:
-        return "http://localhost:6014"
+        return "http://10.10.12.13:5004"
     else:
-        return "http://localhost:6016"
+        return "http://10.10.12.14:5004"
 
 def print_order(order: Order, location:Locations ):
     """Send order to printer"""