Compare commits
4
Commits
466fe1493c
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0355ec476a | ||
|
|
00d66a307b | ||
|
|
3ba4b9343e | ||
|
|
216f11e3ca |
@@ -0,0 +1,10 @@
|
|||||||
|
# Copy to .env
|
||||||
|
|
||||||
|
APPLE_ID='' # Apple ID username
|
||||||
|
APPLE_PW='' # Apple ID password
|
||||||
|
SELECTED_DEVICE_NAME='' # iDevice name
|
||||||
|
TEST_MODE=False # Send location to iOS device (false) or not (true)
|
||||||
|
DEVICE_UDID= # iOS devide UDID
|
||||||
|
ICLOUD_AUTH_INIT_TIMEOUT_SECONDS=0
|
||||||
|
VUE_DIST='' # Local dir for front end files to be served
|
||||||
|
PORT='8238' # Port for frontend
|
||||||
BIN
Binary file not shown.
@@ -215,7 +215,7 @@ class SimulationService:
|
|||||||
data.get("type")
|
data.get("type")
|
||||||
if isinstance(data, dict)
|
if isinstance(data, dict)
|
||||||
else getattr(data, "type", None)
|
else getattr(data, "type", None)
|
||||||
)
|
)
|
||||||
instruction = (
|
instruction = (
|
||||||
data.get("instruction")
|
data.get("instruction")
|
||||||
if isinstance(data, dict)
|
if isinstance(data, dict)
|
||||||
@@ -278,9 +278,9 @@ class SimulationService:
|
|||||||
"message": f"Location {loc_id} added to the queue",
|
"message": f"Location {loc_id} added to the queue",
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
"simulation":
|
"simulation":
|
||||||
{
|
{
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
loc_id: location_item,
|
loc_id: location_item,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user