Skip to content

Commit

Permalink
fix: remove unnecessary integrity and crossorigin attributes in d…
Browse files Browse the repository at this point in the history
…ev center when linking to jquery
  • Loading branch information
jelveh committed Nov 28, 2024
1 parent c5cd8cc commit 8dec78b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
8 changes: 0 additions & 8 deletions src/backend/src/routers/query/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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);
}
}

Expand All @@ -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);
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/dev-center/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,7 @@ <h1 class="my-apps-title">My Apps<span class="app-count"></span></h1>
</section>
</div>

<script src="./js/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
<script src="./js/jquery-3.6.0.min.js"></script>
<script src="./js/jquery.dragster.js"></script>
<script src="https://js.puter.com/v2"></script>
<script src="./js/slugify.js"></script>
Expand Down

0 comments on commit 8dec78b

Please sign in to comment.