From 8dec78b090ec4434ad77003d6f3c25de98779864 Mon Sep 17 00:00:00 2001 From: jelveh Date: Wed, 27 Nov 2024 17:56:45 -0800 Subject: [PATCH] fix: remove unnecessary `integrity` and `crossorigin` attributes in dev center when linking to jquery --- src/backend/src/routers/query/app.js | 8 -------- src/dev-center/index.html | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/backend/src/routers/query/app.js b/src/backend/src/routers/query/app.js index 0b2f037539..789ce88433 100644 --- a/src/backend/src/routers/query/app.js +++ b/src/backend/src/routers/query/app.js @@ -35,8 +35,6 @@ module.exports = eggspress('/query/app', { }, async (req, res, next) => { const results = []; - console.log('BODY?', req.body); - const db = req.services.get('database').get(DB_READ, 'apps'); const svc_appInformation = req.services.get('app-information'); @@ -56,10 +54,7 @@ module.exports = eggspress('/query/app', { if ( amount === undefined ) amount = 20; let uids = svc_appInformation.collections[col_name]; uids = uids.slice(0, Math.min(uids.length, amount)); - console.log('GOT SOME UIDS', uids); app_list.splice(i, 1, ...uids); - - console.log('NEW LIST', app_list); } } @@ -70,10 +65,7 @@ module.exports = eggspress('/query/app', { if ( amount === undefined ) amount = 20; let uids = svc_appInformation.tags[tag_name] ?? []; uids = uids.slice(0, Math.min(uids.length, amount)); - console.log('GOT SOME UIDS', uids); app_list.splice(i, 1, ...uids); - - console.log('NEW LIST', app_list); } } diff --git a/src/dev-center/index.html b/src/dev-center/index.html index 1d0a0471d6..5c0a8219b1 100644 --- a/src/dev-center/index.html +++ b/src/dev-center/index.html @@ -247,8 +247,7 @@

My Apps

- +