diff --git a/justfile b/justfile index 3e54db9..3663232 100644 --- a/justfile +++ b/justfile @@ -43,8 +43,9 @@ deploy-frontend: deploy-backend: ssh plul@ajb.dk -- sh -c "'cd achievements && git pull'" ssh plul@ajb.dk -- sh -c "'cd achievements && nix develop --command -- cargo build --release -p backend'" + ssh root@ajb.dk -- systemctl stop achievements-backend.service ssh plul@ajb.dk -- sh -c "'cp achievements/target/release/backend /opt/achievements/backend'" - ssh root@ajb.dk -- systemctl restart achievements-backend.service + ssh root@ajb.dk -- systemctl start achievements-backend.service just logs-prod # Copy the nginx conf to the server and reload nginx diff --git a/todo.md b/todo.md index a247217..2cd7a60 100644 --- a/todo.md +++ b/todo.md @@ -1 +1,2 @@ - websocket reconnect +- when an achievement component in the admin view has an input field with a timestamp, even if the user hasn't modified anything, and the achivement gets an update on the ws with a different time, then the UI shows an UPDATE button. It should just nuke the state instead.