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) {