浏览代码

update ips printers

Erwin Jacimino 8 月之前
父节点
当前提交
c8bbf702b7
共有 1 个文件被更改,包括 4 次插入4 次删除
  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"""