From e2df7a3062b1daf1b7f86f0af7d05eafcd6bba53 Mon Sep 17 00:00:00 2001 From: Ward Tentacle Date: Sat, 11 Oct 2025 20:02:39 +0000 Subject: [PATCH] feature: poll orders --- app.js | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 app.js diff --git a/app.js b/app.js new file mode 100644 index 0000000..fd9c490 --- /dev/null +++ b/app.js @@ -0,0 +1,2 @@ +const orders = []; +setInterval(() => fetch('/api/orders').then(r => r.json()), 2000); -- 2.49.1