From 58bb5f4e7dcc85099f0f305edd3f414581cdc535 Mon Sep 17 00:00:00 2001 From: Batmanisko Date: Thu, 31 Jul 2025 23:41:51 +0200 Subject: [PATCH] pro refresh endpoint nevyzadovat authtoken --- server/src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/index.ts b/server/src/index.ts index 3df3678..b8c93be 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -96,6 +96,9 @@ app.get("/api/qr", (req, res) => { // ---------------------------------------------------- +// Přeskočení auth pro refresh dat xd +app.use("/api/food/refresh", foodRoutes); + /** Middleware ověřující JWT token */ app.use("/api/", (req, res, next) => { if (HTTP_REMOTE_USER_ENABLED) {