From 3b1c5946360f2c6058f2c351454292c50d592a73 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Sun, 15 Mar 2026 17:36:04 -0700 Subject: [PATCH] Feat: Protect /api/reset behind auth --- middleware.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/middleware.js b/middleware.js index 47056e2..3c8c91c 100644 --- a/middleware.js +++ b/middleware.js @@ -7,7 +7,8 @@ export const config = { '/paper/:path*', '/dash/:path*', '/api/state', - '/api/trades' + '/api/trades', + '/api/reset' ], };